REPOSITORY TAG IMAGE ID CREATED SIZE tomcat latest c6cfe59eb987 6 days ago 357 MB batizhao/ubuntu latest a15b93298276 9 days ago 297.2 MB ubuntu 16.04 f753707788c5 5 weeks ago 127.2 MB ubuntu latest f753707788c5 5 weeks ago 127.2 MB swarm latest 942fd5fd357e 3 months ago 19.47 MB
ps 查看容器
运行中的
1 2 3 4
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e6eef58b3544 tomcat "catalina.sh run" 16 minutes ago Up 14 minutes 0.0.0.0:32770->8080/tcp evil_wozniak
所有的
1 2 3 4 5 6 7 8 9 10
$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e6eef58b3544 tomcat "catalina.sh run" 17 minutes ago Up 15 minutes 0.0.0.0:32770->8080/tcp evil_wozniak d4faf2e9badf tomcat "catalina.sh run" 35 minutes ago Exited (130) 26 minutes ago ecstatic_bohr 47d97451e8a1 tomcat "catalina.sh run" 36 minutes ago Exited (130) 35 minutes ago berserk_mclean 54c65a764bf0 batizhao/ubuntu "/usr/bin/supervisord" 7 days ago Exited (0) 7 days ago jolly_allen 9246f78c4b8f batizhao/ubuntu "/usr/bin/supervisord" 7 days ago Exited (0) 7 days ago stupefied_gates d49845097aa0 batizhao/ubuntu "/usr/bin/supervisord" 7 days ago Exited (0) 7 days ago sad_stallman 311ba7bb9ffd swarm "/swarm --help" 7 days ago Exited (0) 7 days ago naughty_bhaskara
Error response from daemon: conflict: unable to remove repository reference "swarm" (must force) - container 311ba7bb9ffd is using its referenced image 942fd5fd357e