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
Docker v26.0.2 fails to create containers on gitpod (Error: open /proc/sys/net/ipv6/conf/eth0/disable_ipv6: read-only file system
)
#47751
Comments
Oh, also 👋 @joeabbey ! (just now spotted who opened this ticket) hope you're doing well! |
I'm almost certain there's additional isolation at play preventing the container from being able to disable the IPV6 forwarding... so My best guess is that the fix will be on @gitpod-io's side to allow this procfs path. |
Error: open /proc/sys/net/ipv6/conf/eth0/disable_ipv6: read-only file system
)
It's not clear exactly what's happening in gitpod's environment ... the daemon must have most of In any case, we need to provide an escape hatch ...
|
There is a similar problem when using docker under Jip-Hop/jailmaker. The report here is the same as in the OP. I can also reproduce this. I've downgraded to 26.0.1 for now. |
Hi @goncalossilva - thank you for the links ... the plan I outlined should give you a way to work around the problem. I've also tried to repro with 'jailmaker' in order to try to understand the issue a bit better. But, no luck. Probably because I don't have a NAS, so had to persuade jailmaker to run on an Ubuntu VM. For me - with jailmaker's deprecated The So - how are you running and configuring jailmaker? If you run |
Hey, thanks for the thorough response! I'll try my best to help. :) I'm running under the old
The final command appears to be:
Despite including |
On 26.0.1, it is mounted as read-only:
Yet, it works. Should I update to 26.0.2 (or 26.1.0) to try and see if it's any different? |
Thank you, that's interesting - I ended up with this, which would explain the difference ...
(In older versions, we'd only log if we couldn't disable IPv6 on an interface. So, if the rest of Is |
Yes, it appears to be read-only on TrueNAS SCALE:
|
Ahh - right! Thank you, I think that explains things. |
@goncalossilva How can I downgrade Docker version? We had no issues with our workspace last night, and then today we build it and get the error:
when a dockerfile attempts RUN pip install... Any guidance on using a downgraded version of docker would be welcome. We'll have to switch to another platform soon if this conflict can't be fixed or if we don't have a workaround. |
Hi @jaedmunt - there are instructions for various supported Linux distros at https://docs.docker.com/engine/install/ ... the page for each platform has a "Specific version" tab in section "Install Docker Engine". |
@jaedmunt if you're using jailmaker and are on Debian bookwork, run this from the jail:
Also, make sure to disable unattended upgrades for the moment ( |
Thank you, both, much appreciated! |
Description
Error: open /proc/sys/net/ipv6/conf/eth0/disable_ipv6: read-only file system
Reproduce
Even with the attempted workaround:
Output:
Expected behavior
No response
docker version
Client: Docker Engine - Community Version: 26.0.2 API version: 1.45 Go version: go1.21.9 Git commit: 3c863ff Built: Thu Apr 18 16:27:07 2024 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 26.0.2 API version: 1.45 (minimum version 1.24) Go version: go1.21.9 Git commit: 7cef0d9 Built: Thu Apr 18 16:27:07 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.31 GitCommit: e377cd56a71523140ca6ae87e30244719194a521 gitpod: Version: 1.1.9 GitCommit: v1.1.9-0-gccaecfcb docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Additional Info
This is running within a gitpod, and so there may be another layer in the middle.
The text was updated successfully, but these errors were encountered: