Docker Community Forums

Share and learn in the Docker community.

Change boot order docker server in Ubuntu 14


(Rogier Lommers) #1

Kind of related to this topic, but does anyone know how I can change the order in which services start @ boottime on a Ubuntu server? The problem is that iptables restore (from within /etc/rc.local) happens AFTER the Docker daemon starts. Since the Docker daemon also adds some iptables rules, they get overwritten. Therefore I want to ensure that the Docker daemon starts AFTER the restore of the iptables.


Iptables-persistent on Ubuntu 14.04 messes up Docker iptables rules