-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
IPv6 enabled by default in Docker engine v26, causes fatal firewall ERROR #2200
Comments
@qdm12 is more or less the only maintainer of this project and works on it in his free time.
|
Thanks for the detailed issue and investigation!
|
Doesn't look like it. I'm not exactly proficient in alpine, but I appear to be acting as root and still get this error
|
How about, the following, which one does work? Try 1docker run -it --rm --cap-add=NET_ADMIN alpine:3.19
apk add ip6tables
ip6tables -L
exit Try 2docker run -it --rm --privileged --cap-add=NET_ADMIN alpine:3.19
apk add ip6tables
ip6tables -L
exit Try 3docker run -it --rm alpine:3.19
apk add iptables-legacy
ip6tables-legacy -L Try 4docker run -it --rm --cap-add=NET_ADMIN alpine:3.19
apk add iptables-legacy
ip6tables-legacy -L |
Doesn't look like any of them do.
|
The error On the other hand, the error
And run the 3rd or 4th command again? Sorry I can't help more, this Docker/Apple update is pretty bad (2 other issues popped up as well because of its bad IPv6 support). |
Actually reviewing all this, I think it's just your Kernel not supporting nftables, try running on your host as root: |
Actually this might just be fixed in the latest image (please pull it and try if it works?), see #2256 (comment) on additional explanations. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Also fd4689e might help to avoid detecting IPv6 as supported when it's only available on the loopback interface. |
Is this urgent?
No
Host OS
Ubuntu server 20.04
CPU arch
aarch64
VPN service provider
Mullvad
What are you using to run the container
docker-compose
What is the version of Gluetun
Running version v3.37.0 built on 2024-01-02T00:01:06.245Z (commit c826707)
What's the problem 🤔
Gluetun shuts down immediately on startup.
Had been running it successfully for 1-2 months. After a reboot, did manual apt update/upgrade, then pulled latest gluetun. Had been running version from prior to v3.38 update. Gluetun would not fully startup due to problem with firewall citing ip6tables (see attached logs). I downgraded to gluetun:v3.37 and problem was unchanged.
After some investigation, some docker updates were installed by apt, including this update from the apt logs:
From the Docker engine release notes
From gluetun wiki
(in order to enable ipv6, I wanted to disable it)
So I changed my docker-compose.yml file to include ( =1 to disable)
Recreated the container, now everything is working as before.
Gluetun logs suggest upgrading my kernel, but I am not sure how or if I can update it, as I have a Radxa Rockpi-4 and am on their latest release, which is 4.4.194-10-rk3399-rockchip-gf9d08dbd6762
My initial suspicion was the update to gluetun v3.38, but now it looks like the gluetun upgrade is unrelated.
I am submitting this because when others upgrade their docker install, the same problem may be encountered. v26 was just released on 2024-03-20.
Thank you.
Share your logs (at least 10 lines)
Share your configuration
No response
The text was updated successfully, but these errors were encountered: