WordPress Docker Autostart

VM

docker update --restart unless-stopped $container_name

Container

# start apache2 at boot up
update-rc.d apache2 defaults

# check init.d config
cat /etc/init.d/apache2 

# check status
service --status-all

Leave a Reply

Your email address will not be published. Required fields are marked *