Docker Daemon failed to start: does not match with stored UUID error resolution _docker

Source: Internet
Author: User
Tags uuid

Docker Daemon failed to start: does not match with stored UUID error

Recently done project, encountered Docker Daemon Unable to start: does not match with stored UUID error problem, after the Internet to find data to solve the problem, here to record the solution.

Docker uses the loop device to store mirroring by default. Use/var/lib/docker storage. But when the root partition is not big enough (CENTOS7 only 50G installed by default), that's a hassle.

The following modification method is provided here (take the CENTOS7 operating system as an example):

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

If you do an error during step sixth:

Nov 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 Rrent 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 15:35:47 master-57 dockerd[11586
]: time=" 2016-11-03t 15: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 no T match with stored uuid:cba4570c-421a-4612-8030-e7734d6365c7. Possibly using a different thin pool than last invocation "

Then modify the following methods:

The stored UUID is stored inside the/var/lib/docker/devicemapper/metadata/deviceset-metadata. Replace with the current Base Device uuid.

Thank you for reading, I hope to help you, thank you for your support for this site!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.