Container restarting the Docker service while it is running may cause container to fail to start

Source: Internet
Author: User

Restarting the Docker service at run time may cause container to fail to start, and the error message is similar to the container

Error response from Daemon:cannot start container zookeeper:error getting container DDF1DD91BBF46DC648268327F8F7C6FFFAF 2F19CDA5CF1D97FDC701016D4332C from driver devicemapper:error mounting '/dev/mapper/docker-8:1-525372- ddf1dd91bbf46dc648268327f8f7c6fffaf2f19cda5cf1d97fdc701016d4332c ' on '/var/lib/docker/devicemapper/mnt/ DDF1DD91BBF46DC648268327F8F7C6FFFAF2F19CDA5CF1D97FDC701016D4332C ': Device or resource busy2015/01/2604:42:07 Error: Failed Tostart one or more containers

This is a Docker bug .

The solution is to first find the path without unmount

cat/proc/mounts | grep "Mapper/docker" | awk ' {print $} '

Then unmount in turn



This article is from the "Last Night Rain Wind Sudden" blog, please be sure to keep this source http://zxx287856774.blog.51cto.com/3417296/1811730

Container restarting the Docker service while it is running may cause container to fail to start

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.