首页 > 解决方案 > Docker ps 打印空列表

问题描述

如何查看正在运行的容器列表?

sh-4.2$ docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

sh-4.2$ docker rm filebeat
Error response from daemon: You cannot remove a running container 998f73f25e997ba9838df85e8a83b05df9f2c713580ac3e183655c8241e4e84b. Stop the container before attempting removal or force remove

我以为docker ps是,但它显示一个空列表。

标签: docker

解决方案


推荐阅读