Docker compose happens randomly with Error setting
Every time I try to build with docker or render an image (it doesn't matter which one) I accidentally get
Cannot start container <containerId>: Error getting container <containerId> from driver devicemapper: Error mounting '/dev/mapper/docker-8:1-262151-<containerId>' on '/var/lib/docker/devicemapper/mnt/<containerId>': no such file or directory
Strangely, if I run it again, it usually won't have the same error.
Please note that I am running docker inside firewall (ubuntu-trusty-64)
+2
source to share
3 answers
This bug is only known with the driver devicemapper
.
Here is the link to the bug: https://github.com/docker/docker/issues/4036
The solution is to switch to drivers aufs
or overlayfs
.
0
source to share