Docker daemon 无法启动: does not match with stored UUID错误解决办法
2016-11-04 09:13
811 查看
Docker daemon 无法启动: does not match with stored UUID错误
最近做项目,遇到Docker daemon 无法启动: does not match with stored UUID错误的问题,经过上网查找资料解决了问题,这里记录下解决办法。
Docker 默认使用loop设备存储镜像。使用/var/lib/docker存储。但是当根分区不够大的时候(Centos7默认安装只有50G),那就麻烦了。
这里提供下修改方法(以centos7操作系统为例):
1. systemctl stop docker
2. mount /dev/sdb1 /tmp
3. cp -arf /var/lib/docker/* /tmp
4. rm -rf /var/lib/docker
5. umount /tmp; mount /dev/sdb1 /var/lib/docker
6. systemctl start docker
如果执行第六步骤的时候报错:
Nov 03 15:35:47 master-57 dockerd[11586]: time="2016-11-03T15:35:47.950627346+08:00" level=error msg="[graphdriver] prior storage driver \"devicemapper\" failed: devmapper: Base Device UUID and Filesystem verification failed: devmapper:Current Base Device UUID:15b94e74-7712-44bc-b695-9c2c633b8b3a does not match with stored UUID:cba4570c-421a-4612-8030-e7734d6365c7. Possibly using a different thin pool than last invocation" Nov 03 15:35:47 master-57 dockerd[11586]: time="2016-11-03T15:35:47.950782770+08:00" level=fatal msg="Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devmapper: Current Base Device UUID:15b94e74-7712-44bc-b695-9c2c633b8b3a does not match with stored UUID:cba4570c-421a-4612-8030-e7734d6365c7. Possibly using a different thin pool than last invocation"
那么按照下列方法修改:
stored UUID 存储在 /var/lib/docker/devicemapper/metadata/deviceset-metadata 里面。 替换成Current Base Device UUID即可。
感谢阅读, 希望能帮助到大家,谢谢大家对本站的支持!
您可能感兴趣的文章:
相关文章推荐
- Docker daemon 无法启动: does not match with stored UUID错误解决办法
- Docker daemon 无法启动: does not match with stored UUID
- 解决Virtual Box UUID does not match the value stored in the media registry
- Docker容器启动lnmp环境下的mysql服务时报"MySQL server PID file could not be found"错误解决办法
- daemon not running. 解决办法 ADB调试桥 无法启动
- Git常见错误与操作:error: src refspec master does not match any解决办法
- eclipse 无法启动AVD,出现Starting emulator for AVD '' PANIC: Could not open: 错误提示的解决办法
- Silverlight无法启动调试,错误“Unable to start debugging. The Silverlight Developer Runtime is not installed. Please install a matching version.” 解决办法
- Docker无法启动 Could not find a free IP address range for interface 'docker0' 最方便的解决办法
- WIN7 激活失败 报 A20 debug C806 done... 错误,系统无法启动的解决办法。
- (无法启动 Aspnet_wp.exe)错误信息的解决办法
- 关于MSN2009无法启动,或启动时报错显示wldcore.dll错误的解决办法
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- WebClient does not support concurrent I/O operations 错误的解决办法
- could not load host key: /etc/ssh/ssh_host_rsa_key 无法启动ssh的一个解决办法
- 启动调时错误"无法启动调试 没有正确安装调试器 请运行安装程序安装或修复调试器"的解决办法
- NetBSD could not load host key: /etc/ssh/ssh_host_rsa_key 无法启动ssh的一个解决办法
- WebClient does not support concurrent I/O operations 错误的解决办法
- ORA-01034 错误的解决办法,错误信息shared memory realm does not exist
- Linux 安装gcc [原]解决Metadata file does not match checksum错误