docker-compose

Start mysql docker container with docker-compose

Start mysql docker container with docker-compose

In the previous article, I can start mysql docker container by using the docker run command after executing docker build. Personally, I like the lesser option of cli, so this time I’d like to start docker-compose a bit easier to start up. Install docker-compose Let’s install docker-toolbox from the following site. Docker-compose is also included in the download. https://docs.docker.com/toolbox/ Docker-compose provides functions to easily manage multiple containers. In this article, only mysql is started with a container, but since setting up system components and controlling the order of activation can only be described in yaml file, it is highly readable and easy to manage even with VCS.