简体   繁体   English

启动/重新启动/停止Docker容器时出现错误

[英]Getting error while starting/restarting/stopping docker containers

I am trying to restart my containers after starting the Virtual machine but getting this error. 启动虚拟机后,我尝试重新启动容器,但收到此错误。

Error response from daemon: container "8982213db3e8b24cb57af9b64b92122068c3f6ccfe8d3ba9da1b90534921fa67": already exists Error: failed to start containers: 8982213db3e8 来自守护程序的错误响应:容器“ 8982213db3e8b24cb57af9b64b92122068c3f6ccfe8d3ba9da1b90534921fa67”:已存在错误:无法启动容器:8982213db3e8

These containers are stopped and should start. 这些容器已停止,应该启动。

docker info gave the below result. 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

What to do?? 该怎么办??

You are facing a known bug: https://github.com/moby/moby/issues/36145 . 您正面临一个已知的错误: https : //github.com/moby/moby/issues/36145 It is fixed here . 在这里固定。 The fix is merged but I can not check if there is already a new version available. 该修复程序已合并,但我无法检查是否已经有新版本可用。 If it is you should upgrade. 如果是,则应升级。 Otherwise downgrading seems like a solution. 否则,降级似乎是一种解决方案。 (or using a workaround which is discussed in the issue). (或使用问题中讨论的解决方法)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM