📜  请参阅 docker status - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.100000             🧑  作者: Mango

代码示例1
## 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