我正在尝试在启动虚拟机后重新启动容器,但收到此错误。
来自守护程序的错误响应:容器“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
怎么办?
答案 0 :(得分:1)
您正面临一个已知错误:https://github.com/moby/moby/issues/36145。它是固定的here。修复程序已合并,但我无法检查是否已有新版本可用。如果是,你应该升级。否则降级似乎是一种解决方案。 (或使用问题中讨论的解决方法)。