zoukankan      html  css  js  c++  java
  • 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:~$

  • 相关阅读:
    配置文件
    ajax
    网线颜色排序
    cs程序添加初始化加载
    后台设置gridview不换行
    js 经典正则判断 一个字符串是否包含另一个字符串
    窗体关闭事件
    oracle根据视图删除表
    (字符串)哈希
    (字符串)哈希
  • 原文地址:https://www.cnblogs.com/ycliu912/p/5251418.html
Copyright © 2011-2022 走看看