migrate boot2docker to docker tool box
Docker 1.8 was released. Docker tool box was also released, replacing boot2docker.
Tl; tr
This article is about *short* stories of migrating boot2docker to docker tool box and trying to use kitematic.
Migrating
- Download installer of docker tool box for windows
- Run the installer
- Set proxy
Kitematic
What is that?
Kitematic is graphical tool for docker. It can manage containers including to pull containers from dockerhub, to run, to see logs of a container, to set environmental variable, to see container's application, and even to make issues to kitematic.
Example
I used Jenkins and redmine for trial.
I could start to use jenkins only just one push of *start* button. Although it is easy to start jenkins in docker command, I think gui start is better for *gui* people.
Next, redmine. This is a little confusing to use it because I can't use --link option in kitematic.
Generally, to link with a database container is necessary. Mysql or postgres. I chose mysql. To solve the problem, I used environmental variable.
I added some variable in env setting of mysql and redmine, but only that, I could startredmine. The variables I added is below.
- DB_USER
- DB_NAME
- DB_PASS
- DB_HOST
- DB_NAME
- DB_PORT
- DB_USER
- DB_PASS
- DB_TYPE