-
-
Save Kwadz/3a2eb6707c520744634459fb990f93e5 to your computer and use it in GitHub Desktop.
vertical format for docker ps
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
export FORMAT="ID\t{{.ID}}\nNAME\t{{.Names}}\nIMAGE\t{{.Image}}\nPORTS\t{{.Ports}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.CreatedAt}}\nSTATUS\t{{.Status}}\n" | |
// usage: | |
docker ps --format $FORMAT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment