1
1
Fork 0

docker: disable userland proxy

This commit is contained in:
Myned 2025-03-22 13:45:49 -05:00
parent 148b64620a
commit 47e81a7c50
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C7224454F7881A34

View file

@ -43,6 +43,15 @@ in {
enable = true;
enableOnBoot = cfg.boot; # Socket activation
storageDriver = "overlay2";
# https://docs.docker.com/reference/cli/dockerd/#daemon-configuration-file
daemon.settings = {
# Disable userland-proxy to pass client IP to containers
# https://github.com/moby/moby/issues/15086
# https://github.com/moby/moby/issues/14856
# https://github.com/docker/docs/issues/17312
userland-proxy = false;
};
};
# https://github.com/containers/podman