My host is Ubuntu 16.04.1 LTS with privileged container.
I want to disable ipv6 of container, so I created a config file on /etc/sysctl.d/60-disable-ipv6.conf
, I have tried lxc-start
and lxc-stop -r
my container, container's ipv6 is not disabled until run sudo sysctl -p /etc/sysctl.d/60-disable-ipv6.conf
, it works, ipv6 address is disabled.
Why container doesn't load /etc/sysctl.d/*.conf
?