Container Not Starting because of ipv6 errors #2899
Replies: 5 comments 11 replies
-
Same error since today (PureVPN) without changing anything. |
Beta Was this translation helpful? Give feedback.
-
This happened to me as well on a Debian 12.8 host. All was working until I performed an apt upgrade. I don't see upgrades to docker or openvpn but I see the kernel updated to Linux 6.1.0-28-amd64 x86_64. I neglected to create a snapshot before I upgrade (complacency) which seems to have bitten me. I haven't broken anything with an update is quite some time. |
Beta Was this translation helpful? Give feedback.
-
I tried adding the tun device in my compose file (already had puid/pgid defined but this did not work. I am not willing to run a privileged container. I found a different work around in qdm12/gluetun#2606. I downgraded my containerd.io from v1.7.24-1 (this version was installed along with the kernel upgrade) using the following command and restarted my container. It is working again.
|
Beta Was this translation helpful? Give feedback.
-
Running a Docker container in privileged mode basically grants it almost the same access as the host machine, including direct hardware access and root capabilities. This can open up a can of worms for security vulnerabilities, like allowing a rogue container to make system-wide changes, or even escape the container to access the host OS. So, it's best to avoid privileged mode unless you're absolutely sure about what you're doing and aware of the risks. The best thing I think to do for now is.. The apt-mark hold will prevent the containerd.io from updating everytime you upgrade your system. |
Beta Was this translation helpful? Give feedback.
-
It's a permission issue. "privileged: true" resolved it for me: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Everything has been working for year now and today had things crash and trying to restart my docker container I am getting some odd ipv6 errors. I looked out there for some options but nothing out there fixed it all we options for openvpn directly.
Has anyone else seen these errors or may have a suggestion to a solution? I would love to just disable ipv6 since I am not using it on my local network nor is it setup on my home router.
2024-11-29 15:46:29 GDG6: remote_host_ipv6=n/a
2024-11-29 15:46:29 net_route_v6_best_gw query: dst ::
2024-11-29 15:46:29 sitnl_send: rtnl: generic error (-101): Network is unreachable
2024-11-29 15:46:29 ROUTE6: default_gateway=UNDEF
2024-11-29 15:46:29 ERROR: Cannot open TUN/TAP dev /dev/net/tun: Operation not permitted (errno=1)
2024-11-29 15:46:29 Exiting due to fatal error
Beta Was this translation helpful? Give feedback.
All reactions