Created
December 13, 2019 03:40
-
-
Save peabnuts123/69dfcf9b80239073258e7f8e9cdb29e0 to your computer and use it in GitHub Desktop.
docker ps alias for pretty-printing running containers, with only relevant fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Paste into your .bashrc / .bash_profile / .zshrc etc. | |
alias ls-containers="docker ps --format 'table {{.ID}}\t{{.Names}}\t{{.RunningFor}}\t{{.Status}}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get container status command line