当我重新启动docker服务时,我会启动以下容器,但会发生错误。
$docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS
591009977bae yomin/deepdive:1.0 "/bin/bash" 3 weeks ago Exited (-1) 3 hours ago
错误:
$docker start -i -a 591009977bae
Error response from daemon: Cannot start container 591009977bae: [0] Id already in use: Container with id exists: 591009977baefe0ad7986b3149e9c8090655c3419b46e72bfa0c554189a54739
以下是一些信息,服务器是Ubuntu14.04:
$docker info
Containers: 6
Images: 60
Server Version: 1.9.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 76
Dirperm1 Supported: false
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.13.0-24-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 24
Total Memory: 94.37 GiB
Name: ubuntu
ID: P322:L4XK:BGEL:AAZ4:O6VF:IX2O:AUMK:QCBD:RJIS:RGOU:LCJI:GDGU
WARNING: No swap limit support
它似乎与我在Stackoverflow上找到的其他问题不同......有人可以帮助我吗?
答案 0 :(得分:0)
事实上,当我重现你的情况时, 我成功重新启动容器。
Docker version 1.9.x
有一些晦涩的错误。
我认为您最好将docker-engine升级到最新的version(1.10.3)
并重试。