Skip to content

Instantly share code, notes, and snippets.

@pak11273
Last active October 16, 2020 16:41
Show Gist options
  • Save pak11273/083d83a45f2eaea4279cc5e2b8dfa582 to your computer and use it in GitHub Desktop.
Save pak11273/083d83a45f2eaea4279cc5e2b8dfa582 to your computer and use it in GitHub Desktop.
## DOCKER
# formatting container list
alias dockerps='docker ps --format="ID\t{{.ID}}\nNAME\t{{.Names}}\nIMAGE\t{{.Image}}\nPORTS\t{{.Ports}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.CreatedAt}}\nSTATUS\t{{.Status}}\n"'
# formatting images list
alias dockerimages='docker images --format="ID\t{{.ID}}\nREPOSITORY\t{{.Repository}}\nTAG\t{{.Tag}}\nCREATED\t{{.CreatedAt}}\nSIZE\t{{.Size}}\n"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment