You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching a container with a shared volume, the root filesystem changes from rootfs to overlay and from that point on, cannot launch containers successfully.
# df -h /
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 6.9G 14G 35% /
# docker run -d --name mounttest -v "/var/tmp:/var/tmp:shared" alpine sleep 1h
Unable to find image 'alpine:latest' locally
latest: Pulling from alpine
cd784148e348: Already exists
Digest: sha256:3d2e482b82608d153a374df3357c0291589a61cc194ec4a9ca2381073a17f58e
Status: Downloaded newer image for 10.66.0.150:5000/alpine:latest
a8f33cf01acd5ce7681081c6dc7abd3c2d28cd2b5607c107a4b1b8c24de4876c
# df -h /
Filesystem Size Used Avail Use% Mounted on
overlay 20G 6.9G 14G 35% /
# docker run --rm hello-world
docker: Error response from daemon: open /etc/resolv.conf: no such file or directory.
For some use cases when launching containers with various volumes, also seeing the error: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/docker/overlay2/1dfdb3f2ff50fed4649de6e4fe563407e938e6c00115c3d5c6cb862abceb1fef/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"stat /sys/fs/cgroup/1b896c95cdea3a22cd7c41e6f7c175ab71e0a2fe9658697a738098f16a279517: no such file or directory\\\"\"": unknown
The text was updated successfully, but these errors were encountered:
Maybe you meant to submit this against Docker? I haven't looked into it, but this seems like a Docker misconfiguration to me (unless there's already an open Docker issue you forgot to link).
Ok, since I saw container_linux.go, process_linux.go, and rootfs_linux.go were in this project and I was getting errors referencing those files, I assume this was the correct home for this issue. If that's not the case, please let me know the URL I should use to report this problem.
When launching a container with a shared volume, the root filesystem changes from
rootfs
tooverlay
and from that point on, cannot launch containers successfully.For some use cases when launching containers with various volumes, also seeing the error:
Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/docker/overlay2/1dfdb3f2ff50fed4649de6e4fe563407e938e6c00115c3d5c6cb862abceb1fef/merged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"stat /sys/fs/cgroup/1b896c95cdea3a22cd7c41e6f7c175ab71e0a2fe9658697a738098f16a279517: no such file or directory\\\"\"": unknown
The text was updated successfully, but these errors were encountered: