• 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#检查数组是否重复——HashSet
    C#动态生成控件,并添加事件处理,获取控件值并保存
    .net接口交互
    SQL Server 表建Trigger
    SQL Server 表建Trigger
    SQL语句修改not in 变为not exists
    奋战杭电ACM(DAY11)1017
    奋战杭电ACM(DAY11)1016
    奋战杭电ACM(DAY10)1015
    奋战杭电ACM(DAY9)1014
  • 原文地址:https://www.cnblogs.com/ycliu912/p/5251418.html
Copyright © 2020-2023  润新知