-
Notifications
You must be signed in to change notification settings - Fork 16
"No more loopback devices" error connecting to Docker daemon #20
Comments
This is because CentOS uses device mapper. That graph driver isn't very friendly to Docker in Docker. What happens in that on start it creates 2 loop back devices. When the container dies those don't get freed. So usually after 4 times you are out of devices. On CentOS I think the most practical option is to use the vfs graph driver. It is slow and takes up a lot of disk space, but it doesn't crash :) Basically if docker in docker is a must, CentOS is not a good option. |
@mcelligott you can switch storage drivers in the @ibuildthecloud thanks for the explanation. |
Just wanted to throw out there that CentOS 7.2 when released will support overlayfs and then you won't see these issues. |
Having the issue, I just want to say that CentOS or RHEL are recomanded OS to launch OpenShift, and that many enterprises make use of RHEL or CentOS for kubernetes. I'm in that case, we want to give a chance to "drone" to be our CI/CD robot... I'm using CentOS 7.2 and using overlayfs, so the driver to set is "overlay" now and not "vfs". Without that option in .drone.yml, the problem persists. I can confirm that |
I'm running the new Drone 0.4 (github.com/drone/drone/tree/0.4.0) which uses the rancher image to run docker in docker. My servers all run CentOS, while I hear that most/all other users are running Ubuntu and have not run into any issues. However, when I try to connect to the docker daemon, I get the following output, preventing the docker command from executing its intent:
The text was updated successfully, but these errors were encountered: