Skip to content

climateamante/dockr

Repository files navigation

Dockr: image-developer-tool-app-icon + image-developer-bash-cli-terminal-command-icon = image-docker-whale

Bash CLI Helper Tool For Docker

dockr is a set of scripts and helper tools to avoid remembering complex docker commands

  • current: 0.1.4.01 | 10.05.2018
  • previous: 0.1.4.00 | 06.11.2018

Reference:

  • Why Not Python?

Not every docker environment or remote server will have or want to include python. When possible, every attempt is kept in maintaining portability, ( e.g: ash, bash, alpine, etc ). No perl, python or verbose code. Intended to be readable and modified for different use cases.

Dependencies:

  • awk,grep,head,sed,sort,tail
  • tested with: bash: 3.2.57

Example Usage:

List all local Docker images alphanumerically:

# list all local docker images alphanumerically:
dockr images --sort

# plural and singular commands are given when possible
dockr image --sort

Close | Stop an active running Docker container:

# list all active running docker containers
# singular, plural, and flag options:
dockr container
docker containers
docker -c

# stop or close the active running container by it's id:
dockr stop f053cb2b372a
dockr close f053cb2b372a

Note:

When possible commands have both plural and singular names if there is no conflict

intended to help new users experience and simplify codebase.

TODO
  • refactor process into a proper CLI tool with testing
  • create documentation and --help --version commands
  • ( Feature/Function )
  • Able to delete containers via dockr remove container_id

About

Dockr | Bash CLI Tool For Docker. Avoid verbose Docker commands. Example: SSH into the most recent container without knowing the id, name, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages