Occasionally while bringing up a privileged container, container fails to start with the message "lstat /dev/dm-13: no such file or directory" ?
Issue
- While executing docker-compose up, one of the container fails to initialize with the following message in the console
ERROR: for XXX Cannot start service XXX: linux runtime spec devices: lstat /dev/dm-13: no such file or directory
- Occasionally while bringing up a privileged container, container fails to start with the following message
Apr 21 05:32:23 XXX dockerd-current: time="2017-04-21T05:32:23.429464849-04:00" level=debug msg="createSpec: cgroupsPath: system.slice:docker:a8742ff13268691536f889af9d50506648d2a1679472cc5f45da13117bc57d71"
Apr 21 05:32:23 XXX dockerd-current: time="2017-04-21T05:32:23.693582590-04:00" level=error msg="Handler for POST /v1.24/containers/a8742ff13268691536f889af9d50506648d2a1679472cc5f45da13117bc57d71/start returned error:
linux runtime spec devices: lstat /dev/dm-5: no such file or directory"
Environment
- Red Hat Enterprise Linux 7
- docker-1.12.6-16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
