Docker Kitematic for Linux

17 / Sep / 2015 by Sharad Aggarwal 4 comments

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

kitematic1-Screenshot from 2015-09-15 00:30:45

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

kitematic2-Screenshot from 2015-09-15 00:31:47

After successful completion of running container from above command, a Kitematic console will pop up as shown in the below screenshot:

Kitematic4-Screenshot from 2015-09-15 00:48:46

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.

Kitematic3-Screenshot from 2015-09-15 00:47:11

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.

 

FOUND THIS USEFUL? SHARE IT

comments (4)

  1. dariush najjarzade

    thank you Sharad Aggarwal
    works like a charm.

    i don’t understand why they didn’t publish a linux version….

    Reply
  2. danni

    Hi Sharad,
    Thanks for posting the instructions. I got an error like this
    Hi Sharad,
    I got an error like this
    solo:~ # 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
    Unable to find image ‘ -v:latest’ locally
    repository name component must match “[a-z0-9](?:-*[a-z0-9])*(?:[._][a-z0-9](?:-*[a-z0-9])*)*”

    Any Idea what went wrong?

    Thanks
    Danni

    Reply
  3. Rijk Stofberg

    Hiya. Ran the above on Ubuntu 15.10 with the same result. “[8] System error: not a directory”
    Regards
    Rijk

    Reply
  4. Joe

    Hi Sharad,
    Thanks for posting the instructions. I used Kitematic on MacOS but want to switch over to LInux. I was able to install everything and able to pull the image. However once I want to start it I get the error:

    : goexit
    Package: runtime
    File: asm_amd64.s@1696
    Error response from daemon: Cannot start container 665553909fcad37a1c6c1cfbdad16f6acc23f3a5a7898d2553c9f2e020fce53a: [8] System error: not a directory

    I am running an Arch derivative (Apricity) but this should not be the problem (hopefully) and Docker 1.9.1.

    Any Idea what went wrong?

    Thanks
    Joe

    Reply

Leave a comment -