Last active
January 16, 2025 14:25
-
-
Save penyt/7f5365b3be2baf76835bf6831d116b9c to your computer and use it in GitHub Desktop.
docker ps formatting
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
| docker ps --format="\nNAME 【{{.Names}}】\n - STATUS {{.Status}}\n - IMAGE {{.Image}}\n - 容器ID {{.ID}}\n - COMMAND {{.Command}}\n - CREATED {{.CreatedAt}}\n - PORTS {{.Ports}}" |
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
| docker ps --format="NAME 【{{.Names}} 】 | |
| - STATUS {{.Status}} | |
| - IMAGE {{.Image}} | |
| - 容器ID {{.ID}} | |
| - COMMAND {{.Command}} | |
| - CREATED {{.CreatedAt}} | |
| - PORTS {{.Ports}} | |
| " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment