【问题标题】:Getting error while starting/restarting/stopping docker containers启动/重新启动/停止 docker 容器时出错
【发布时间】:2018-02-19 13:46:55
【问题描述】:

我在启动虚拟机后尝试重新启动我的容器,但出现此错误。

来自守护程序的错误响应:容器“8982213db3e8b24cb57af9b64b92122068c3f6ccfe8d3ba9da1b90534921fa67”:已存在 错误:无法启动容器:8982213db3e8

这些容器已停止并且应该启动。

docker info 给出了以下结果。

Containers: 6
 Running: 0
 Paused: 0
 Stopped: 6
Images: 8
Server Version: 18.02.0-ce
Storage Driver: overlay2
 Backing Filesystem: xfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 9b55aab90508bd389d7654c4baf173a981477d55
runc version: 9f9c96235cc97674e935002fc3d78361b696a69e
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 3.10.0-693.17.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 2.829GiB
Name: fcp-17685l.india.rapidigm.com
ID: TA6O:JQW5:QJKA:OWSB:BHR4:ASKM:QNV3:WPPR:GPPS:42BD:A3WC:DRAZ
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

怎么办??

【问题讨论】:

  • 你说的是什么虚拟机?你用什么命令来启动你的容器?
  • 在 Oracle Virtual Box 上工作并使用“yum install docker-ce”安装。

标签: linux docker centos containers


【解决方案1】:

您面临一个已知错误:https://github.com/moby/moby/issues/36145。它是固定的here。修复已合并,但我无法检查是否已有可用的新版本。如果是你应该升级。否则降级似乎是一个解决方案。 (或使用问题中讨论的解决方法)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-09-30
    • 2019-11-01
    • 1970-01-01
    • 2020-01-21
    • 1970-01-01
    • 2015-10-28
    • 2022-07-08
    • 1970-01-01
    相关资源
    最近更新 更多