Skip to content

brccabral/sh_docker_functions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 [ID] print a conatiner's name, IP, and port (all containers if blank)
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)

About

Get Docker details with sh commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%