Docker Community Forums

Share and learn in the Docker community.

Issue with the /proc/ entries of the containers, not inheriting the HOST "/proc" entries

docker

(Herekar) #1

Hi,

I am using a Kubernetes cluster having issues with the containers

Currently, I see a mis-match in my /proc/ entries between the HOST and the container.

Following is the output.

abhi@abhi-sys#cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0
abhi@abhi-sys#kubectl exec -it busybox cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1

Currently, I am running: Ubuntu 16.04, Kernel:4.4

Docker Version: 17.05

And I can’t modify the /proc/ files in container as its not privileged.

Please, someone help me in where to look for the docker files on why the container is not
inheriting the Host properties.

ideally, container has to be inherited from the HOST.


(Mikma) #2

I have the same problem. IPv6 is enabled on eth0 and lo in my containers, but disabled on other interfaces. This is a problem since I want to use IPv6 on an wireguard interface. (I prefer to use an unprivileged container with --cap-add net_admin.)