Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yingzhuo/docktool
tools for docker image building/troubleshooting.
https://github.com/yingzhuo/docktool
command-line container docker golang utility
Last synced: about 2 months ago
JSON representation
tools for docker image building/troubleshooting.
- Host: GitHub
- URL: https://github.com/yingzhuo/docktool
- Owner: yingzhuo
- License: apache-2.0
- Created: 2019-11-06T00:29:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-18T06:21:04.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T05:23:49.808Z (3 months ago)
- Topics: command-line, container, docker, golang, utility
- Language: Go
- Homepage:
- Size: 101 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# docktool
```
NAME:
docktoolUSAGE:
docktool [global options] COMMAND [command options] [arguments ...]VERSION:
v1.2.xAUTHORS:
应卓COMMANDS:
filegen generate file using template
filedel delete files/dirs using wildcard
wait wait until tcp reachable or timeout
sleep make current thread sleep
secret encode/decode a string
uuid create random uuid
test test env/file/dir/tcpGLOBALS OPTIONS:
-q, --quiet quiet mode (default: false)
-h, --help print this usage
-v, --version print version informationSEE ALSO:
https://github.com/yingzhuo/docktoolRun 'docktool COMMAND --help' for more information on a command.
```
### Installing on docker image
also, you can install it on your docker image. Two examples:
```dockerfile
FROM busyboxCOPY --from=yingzhuo/docktool:latest /bin/docktool /bin/docktool
```#### Build it on your computer
```bash
git clone [email protected]:yingzhuo/docktool.git
cd ./docktool/
make install
```### Sub Command
* [filegen](./.github/filegen.md)
* [filedel](./.github/filedel.md)
* [wait](./.github/wait.md)
* [sleep](./.github/sleep.md)
* [secret](./.github/secret.md)
* [uuid](./.github/uuid.md)
* [test](./.github/test.md)### Contributing
* Fork it
* Create your feature branch (git checkout -b my-new-feature)
* Commit your changes (git commit -am 'add some feature')
* Push to the branch (git push origin my-new-feature)
* Create new Pull Request### License
Apache 2.0 license. See [LICENSE](./LICENSE)
### Chang Log
See [chang log](./CHANGELOG.md)
### Authors
* 应卓 - [github](https://github.com/yingzhuo)
See also the list of [contributors](https://github.com/yingzhuo/docktool/graphs/contributors) who participated in this project.
### Acknowledgments
* [subchen](https://github.com/subchen)
* [go-cli](https://github.com/subchen/go-cli)