/dz

docker made ez

Primary LanguageShellMIT LicenseMIT

dz

ez docker

I would recommend making an alias and adding it to your .bashrc

alias dz='. ~/Documents/dz/dz'

Commands

Command Description
dz runs dz ip command
dz ip [-all] [ID] print a container's name, IPs, ports, networks and gateways (all containers running if blank)
-all option to search non running containers
dz v [filter] prints volumes with sizes (dangling if blank, all if 'all')
dz sh [USERNAME] <ID> bash into a container with optional username
dz logs [NUM_LINES] <ID> tail (and follow) a container's logs (0 lines if blank)