New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not use docker socket as read-only volume in rootless mode #40313
Comments
/cc @AkihiroSuda |
How is "read-only socket" useful? |
I setup nginx-proxy, in the README the volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro https://github.com/jwilder/docker-gen use read-only socket to generate middleware (e.g. nginx) configurations from docker container meta-data. |
The doc seems wrong. Read-only socket doesn't make sense. |
Maybe we should modify runc to ignore |
A workaround is |
I don't think this should have been closed. Acknowledging that mounting docker.sock is generally bad, mounting it as read only still |
Fixed in #42233 Will be included in v20.10.6. |
Description
Steps to reproduce the issue:
Describe the results you received:
error
Describe the results you expected:
Same as mount docker socket without read-only option
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
physical machine with ArchLinux, using this AUR package to run Docker in rootless mode
https://aur.archlinux.org/packages/docker-rootless/
The text was updated successfully, but these errors were encountered: