Today after a reboot my docker container refused to start. After some research I found a post in internet that said "start your firewall before docker". After looking at my logs I could see that docker was started before my firewall. So, if you could include: depend() { after firewall } in /etc/init.d/docker it would be great. (I have added it locally here). Regards, Dan Reproducible: Always Steps to Reproduce: 1. Reboot host Actual Results: "docker start XY" complains that the container could not be started (iptables errors, No chain/target/match by that name).
There is not a standard service script that starts a firewall, so there is no way for me to request something like that upstream. Also, I don't recommend adding this to the depend function directly. Instead, you can add an rc_after line to /etc/conf.d/docker like this to set the order. rc_after="firewall" Let me know whether or not that works for you. Thanks much.