Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save m-wendler/06efe22a5e5c1601fd2663f535367959 to your computer and use it in GitHub Desktop.
Save m-wendler/06efe22a5e5c1601fd2663f535367959 to your computer and use it in GitHub Desktop.
customize the 'docker ps' command output
# customize the 'ps' command (see https://docs.docker.com/engine/reference/commandline/ps/)
docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Command}}
# I also put it into an alias:
alias dps='docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Command}}"'
@Kalpesh9420
Copy link

docker ps -a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment