This blog post refers to a new addition in the Docker Family i.e. Kitematic. A lot of development is going around Docker Kitematic. Kitematic is basically a graphical User Interface that is used to manage docker containers. It integrates with the individual’s Docker hub account and one can manage and use his/her Docker repos using Kitematic. The project is still in its beta release and till date its only available for Mac OS and Windows, however, a lot of research is going around this project in the Linux community for its Linux release. Today, while reading about Kitematic, I came across a post to install and configure Kitematic on Linux here. So, I gave it a try and that is how things turned out for me.
Pull Image from the Docker Hub,
First of all, Kitematic image is to be pulled from Docker hub using following command:
docker pull jonadev95/kitematic-docker
Now, run a Docker container from above image using below command. The command runs the container and creates several volumes to enable X11 forwarding on the Docker container so that we can get Kitematic console on our local machine.
docker run --net host --name kitematic \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=$DISPLAY \ -v $HOME/.Xauthority:/root/.Xauthority \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -v /var/run/docker.sock:/var/run/docker.sock \ --privileged=true -t jonadev95/kitematic-docker
After successful completion of running container from above command, a Kitematic console will pop up as shown in the below screenshot:
Log in to Kitematic using Docker hub login credentials. After successful login, all the containers on localhost can be viewed and managed using this console.
Using above console, one can avoid the requirement of being a command line ninja to use and adopt Docker and Docker Software can have a much wider target audience.