Answers for "docker list running containers"

9

how to get list of docker containers

1. docker container ls -a
2. docker ps -a
Posted by: Guest on May-23-2020
1

how to get list of all container in docker

docker container ls --all

# CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS                     PORTS                  NAMES
# 9f21cb777058        fhsinchy/hello-dock   "/docker-entrypoint.…"   2 minutes ago       Up 2 minutes               0.0.0.0:8080->80/tcp   gifted_sammet
# 6cf52771dde1        fhsinchy/hello-dock   "/docker-entrypoint.…"   3 minutes ago       Exited (0) 3 minutes ago                          reverent_torvalds
# 128ec8ceab71        hello-world           "/hello"                 4 minutes ago       Exited (0) 4 minutes ago                          exciting_chebyshev
Posted by: Guest on November-11-2021
0

list containers

docker ps -a
Posted by: Guest on December-10-2020
1

docker list

docker ps
Posted by: Guest on April-26-2021

Code answers related to "docker list running containers"

Browse Popular Code Answers by Language