首页  >  问答  >  正文

服务器(虚拟机vm搭建的)重启后docker的所有镜像都无法启动

[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_leeringa_lee2760 天前777

全部回复(1)我来回复

  • PHP中文网

    PHP中文网2017-04-22 08:57:55

    和你碰到的问题一样,这tmd见鬼了,网上说是因为未正常关闭引起,这么不稳定,万一安装服务器上不是死翘翘了!

    回复
    0
  • 取消回复