-
-
Notifications
You must be signed in to change notification settings - Fork 793
Open
Description
π» Brief Description
The
ExecStartPre=/sbin/sysctl -w net.ipv6.conf.all.forwarding=1
line added to the docker service file prevents the docker service to start if ipv6.disable=1 has been set in the kernel.
π₯ Cookbook version
11.3.0
π©βπ³ Chef-Infra Version
18.1.0
π© Platform details
ubuntu server 22.04
Steps To Reproduce
Steps to reproduce the behavior:
- Add GRUB_CMDLINE_LINUX="ipv6.disable=1" in /etc/default/grub, then sudo update-grub
- reboot
- Try to deploy the cookbook
- See error
π Expected behavior
docker service starts properly
β Additional context
Is it still necessary to add ipv6 forwarding by calling sysctl?
Isn't there any other way to do it?
This could be fixed by adding -e to the sysctl calls without impacting unaffected users.