Answers for "docker container status"

3

docker ps only show names

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

see docker status

## To View the status of Docker
$ docker ps

CONTAINER ID        IMAGE                        COMMAND                CREATED              STATUS              PORTS               NAMES
4c01db0b339c        ubuntu:12.04                 bash                   17 seconds ago       Up 16 seconds       3300-3310/tcp       webapp
d7886598dbe2        crosbymichael/redis:latest   /redis-server --dir    33 minutes ago       Up 33 minutes       6379/tcp            redis,webapp/db
Posted by: Guest on April-03-2021

Browse Popular Code Answers by Language