服务器(虚拟机vm搭建的)重启后docker的所有镜像都无法启动
ringa_lee
ringa_lee 2017-04-22 08:55:55
0
1
791
[root@localhost ~]# docker start csphere-controller 
Error response from daemon: Cannot start container csphere-controller: Error getting container 09da1ef3d4f118f14b9cea69fb69b591ecd6cc1144018ecfab6f2c4bc0c7cee3 from driver devicemapper: Error mounting '/dev/mapper/docker-8:17-1179651-09da1ef3d4f118f14b9cea69fb69b591ecd6cc1144018ecfab6f2c4bc0c7cee3' on '/data_docker/docker/devicemapper/mnt/09da1ef3d4f118f14b9cea69fb69b591ecd6cc1144018ecfab6f2c4bc0c7cee3': invalid argument
FATA[0000] Error: failed to start one or more containers

[root@localhost ~]# docker start mysql 
Error response from daemon: Cannot start container mysql: Error getting container 6faa86bbbd18592e4b68af94401bcdfbeb038819abf2cbb807a6bb26cf277a64 from driver devicemapper: Error mounting '/dev/mapper/docker-8:17-1179651-6faa86bbbd18592e4b68af94401bcdfbeb038819abf2cbb807a6bb26cf277a64' on '/data_docker/docker/devicemapper/mnt/6faa86bbbd18592e4b68af94401bcdfbeb038819abf2cbb807a6bb26cf277a64': invalid argument
FATA[0000] Error: failed to start one or more containers 

这是docker info的信息

[root@localhost ~]# docker info
Containers: 4
Images: 153
Storage Driver: devicemapper
 Pool Name: docker-8:17-1179651-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 6.558 GB
 Data Space Total: 107.4 GB
 Data Space Available: 46 GB
 Metadata Space Used: 8.843 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.139 GB
 Udev Sync Supported: true
 Data loop file: /data_docker/docker/devicemapper/devicemapper/data
 Metadata loop file: /data_docker/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 1
Total Memory: 987.2 MiB
Name: localhost.localdomain
ID: RH64:QG55:ZPGE:YTNF:EBKS:2JXN:Y3YU:POVV:VNJQ:S67M:TJYI:7Y3U  

各位大神是否有遇到这样的问题~

ringa_lee
ringa_lee

ringa_lee

reply all(1)
Ty80

Same problem as you encountered, this tmd is damned, the Internet said it was caused by not shutting down properly, it is so unstable, in case the installation server is not dead!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template