Answers for "how to get container name"

3

docker ps only show names

docker ps --format '{{.Names}}'
Posted by: Guest on August-27-2020
2

list stopped containers

docker ps --filter "status=exited"
Posted by: Guest on May-27-2020

Code answers related to "how to get container name"

Browse Popular Code Answers by Language