How do I auto-start docker containers at system boot?

Apparently, the current method to auto-start Docker containers (from Docker 1.2) is to use restart policies. This will control how Docker should handle starting of the container upon startup and re-starting of the container when it exits. I’ve used the ‘always’ option so far, and can confirm that it makes Docker auto-start the container at … Read more

mysqladmin: connect to server at ‘localhost’ failed

Short version: If your MySQL user root needs a password to connect, it might be a good idea to have mysqladmin provide that password 😉 Longer version: Your MySQL user root seems to need a password to connect setting the mysql root password new But mysqladmin tries to connect without a password ‘Access denied for user ‘root’@’localhost’ (using password: NO)’ And mysqladmin does that because you’re not … Read more

docker command not found even though installed with apt-get

The Ubuntu package docker actually refers to a GUI application, not the beloved DevOps tool we’ve come out to look for. The instructions for docker can be followed per instructions on the docker page here: https://docs.docker.com/engine/install/ubuntu/ === UPDATED (thanks @Scott Stensland) === You now run the following install script to get docker: Note: review the script on the … Read more

error code: 523