Question regarding this vs official docker #2
Replies: 1 comment
-
|
No. You need to adjust your rootless config: https://docs.docker.com/engine/security/rootless/#docker-run--p-does-not-propagate-source-ip-addresses. Simply set the two environment variables: DOCKERD_ROOTLESS_ROOTLESSKIT_NET and DOCKERD_ROOTLESS_ROOTLESSKIT_PORT_DRIVER to get the correct client IP in any container. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently switched to rootless docker, and my biggest headache was adguard, I got it to work, but all the clients showed as the same IP because of docker networking.
The official fix is to run it in network host mode, which is not possible on rootless
Does this have a solution for that?
Beta Was this translation helpful? Give feedback.
All reactions