Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/residentsummer/dkt
A tiny helper tool for Docker
https://github.com/residentsummer/dkt
Last synced: about 1 month ago
JSON representation
A tiny helper tool for Docker
- Host: GitHub
- URL: https://github.com/residentsummer/dkt
- Owner: residentsummer
- Created: 2015-03-11T13:51:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-07T15:08:55.000Z (almost 8 years ago)
- Last Synced: 2023-04-05T14:00:45.048Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dkt
A tiny helper tool for Dockerusage: dkt [-h] [-H DOCKER_HOST] [-R DKT_REGISTRY_HOST]
[-u DKT_REGISTRY_USERNAME] [-N DKT_REGISTRY_PREFIX] [-v]
{bootstrap,login,build,sweep,push,pull,rls} ...Docker tool - simplify images building and submitting to local registry. If an
arg is specified in more than one place, then command-line values override
environment variables which override defaults.positional arguments: {bootstrap,login,build,sweep,push,pull,rls}
bootstrap Prepare local docker registry
login Login into docker registry
build Build an image from Dockerfile (and dkt files)
sweep Remove exited containers and dangling images.
!!!ACHTUNG!!! It will remove data-containers as well!
Not the actual volumes, though.
push Push image to the local registry
pull Pull image from the local registry
rls List repositories in registryoptional arguments:
-h, --help show this help message and exit
-H DOCKER_HOST Socket or host/port where docker daemon runs [env var:
DOCKER_HOST]
-R DKT_REGISTRY_HOST Host and port where local registry is located. Will be
guessed from DOCKER_HOST if not specified. [env var:
DKT_REGISTRY_HOST]
-u DKT_REGISTRY_USERNAME
Username in local registry [env var:
DKT_REGISTRY_USERNAME]
-N DKT_REGISTRY_PREFIX
Prefix for images in registry (e.g.
localhost:5000//). Will be guessed from
DKT_REGISTRY_USERNAME if not specified. [env var:
DKT_REGISTRY_PREFIX]
-v Verbosity (also try -vv and more)