Failed to remove container (908489f8555e): Error response from daemon: No such container: 908489f8555e
2016-03-07 18:10 ycliu912 阅读(4315) 评论(0) 编辑 收藏 举报docker@test:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a80fbbafe6a3 rancher/agent-instance:v0.8.0 "/etc/init.d/agent-in" 56 minutes ago Up 24 minutes 0.0.0.0:500->500/udp, 0.0.0.0:4500->4500/udp 29c4eb3e-0ec9-4f35-adae-f6594d3d6d0c
docker@test:~$ docker stop a80fbbafe6a3
a80fbbafe6a3
docker@test:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
docker@test:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
wordpress latest 908489f8555e 4 days ago 516.5 MB
mysql latest 0ffe8484635b 4 days ago 361.3 MB
rancher/agent v0.9.2 f8c9e328157e 4 weeks ago 356.8 MB
rancher/agent-instance v0.8.0 f4c7ed487037 5 weeks ago 316.2 MB
docker@test:~$ docker rm wordpress
Failed to remove container (wordpress): Error response from daemon: No such container: wordpress
docker@test:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
wordpress latest 908489f8555e 4 days ago 516.5 MB
mysql latest 0ffe8484635b 4 days ago 361.3 MB
rancher/agent v0.9.2 f8c9e328157e 4 weeks ago 356.8 MB
rancher/agent-instance v0.8.0 f4c7ed487037 5 weeks ago 316.2 MB
docker@test:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
docker@test:~$ docker rm mysql
Failed to remove container (mysql): Error response from daemon: No such container: mysql
docker@test:~$ docker rm --help
Usage: docker rm [OPTIONS] CONTAINER [CONTAINER...]
Remove one or more containers
-f, --force Force the removal of a running container (uses SIGKILL)
--help Print usage
-l, --link Remove the specified link
-v, --volumes Remove the volumes associated with the container
docker@test:~$ docker rm -f 908489f8555e
Failed to remove container (908489f8555e): Error response from daemon: No such container: 908489f8555e
docker@test:~$ docker rm -f 0ffe8484635b
Failed to remove container (0ffe8484635b): Error response from daemon: No such container: 0ffe8484635b
docker@test:~$