• Failed to remove container (908489f8555e): Error response from daemon: No such container: 908489f8555e


    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:~$

  • 相关阅读:
    C++类中使用new及delete小例子(续)
    C++类中使用new及delete小例子
    C++类中static修饰的函数的使用
    C++类使用static小例子(新手学习C++)
    C++结构体中使用函数与类中使用函数小结
    记一次简单的性能优化
    [转载]Java的内存回收机制
    写给自己的项目总结
    [转载]正则表达式30分钟入门教程
    使用JRockit进行性能优化一:环境搭建
  • 原文地址:https://www.cnblogs.com/ycliu912/p/5251418.html
Copyright © 2020-2023  润新知