Public | Automated Build

Last pushed: 2 years ago
Short Description
A Docker Image for the Kitematic GUI
Full Description

Kitematic-docker

What is this?

This Docker Image should give every Linux User the opportunity to use the Kitematic GUI.
(I've tried to install it on ubuntu and fedora, it both failed)

How could I start it?

docker run -d --net host --name kitematic \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=$DISPLAY  \
-v $HOME/.Xauthority:/root/.Xauthority \
-v /var/run/docker.sock:/var/run/docker.sock \
--privileged=true jonadev95/kitematic-docker

or just use firststart.sh

(It takes time to startup, ~30s)

I've closed the kitematic window, but now I want it back again...

If you want to restart kitematic, just execute docker restart kitematic (Or use start.sh)

That's all!

It's so dirty and ugly that you mount xorg and docker sockets and make it privileged

Yes, of course it is, but the reason I've made it was to make it easier for everyone to test kitematic on linux and provide an image which just works.

So please take a look at the dockerfile to see that the Image is not doing something evil with the sockets :-)

Docker Pull Command
Owner
jonadev95
Source Repository

Comments (5)
zfxsteven
3 months ago

The kitematic is not visiable! I just get a all black windows.
log:
sudo docker run --net host --name kitematic2 -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

Kitematic@0.8.2 start /opt/kitematic
grunt

Running "download-binary:docker" (download-binary) task

Running "download-binary:docker-machine" (download-binary) task

Running "download-binary:docker-compose" (download-binary) task

Running "newer:babel" (newer) task

Running "newer:babel:dist" (newer) task

Running "babel:dist" (babel) task

Running "newer-postrun:babel:dist:1:/opt/kitematic/node_modules/grunt-newer/.cache" (newer-postrun) task

Running "less:dist" (less) task
File build/main.css created

Running "newer:copy:dev" (newer) task

Running "copy:dev" (copy) task
Created 979 directories, copied 4615 files

Running "newer-postrun:copy:dev:2:/opt/kitematic/node_modules/grunt-newer/.cache" (newer-postrun) task

Running "shell:electron" (shell) task

Running "watchChokidar" task
Waiting...

[28:0610/061724:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
Gtk-Message: Failed to load module "canberra-gtk-module"
[28:0610/061726:ERROR:bus.cc(431)] Failed to connect to the bus: /usr/bin/dbus-launch terminated abnormally without any error message
[54:0610/061726:INFO:renderer_main.cc(200)] Renderer process started
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[28:0610/061727:INFO:CONSOLE(109)] "Download the React DevTools for a better development experience: https://fb.me/react-devtools", source: /opt/kitematic/build/node_modules/react/lib/React.js (109)
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:ERROR:bus.cc(431)] Failed to connect to the bus: /usr/bin/dbus-launch terminated abnormally without any error message
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command
[28:0610/061728:ERROR:bus.cc(431)] Failed to connect to the bus: /usr/bin/dbus-launch terminated abnormally without any error message

kevcodez
a year ago

Getting the following error;

Running "watchChokidar" task
Waiting...

[28:1012/203411:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
The program 'electron' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 231 error_code 10 request_code 130 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Warning: Done, with errors: command "/opt/kitematic/node_modules/electron-prebuilt/dist/electron build" (target "electron") exited with code 1.

jonadev95
2 years ago

@pauloch8, thanks for testing it!
You're completely right, it doesn't work currently. I will take a look at it in a few minutes(And test the command you've given)

Regarding the issues you've experienced, I will try to fix them, but it could take time. If you find a solution for them feel free to fork the repo and create a pull request :-)

pauloch8
2 years ago

Very nice!
Some issues:
Button Exec isn't working
Local Folder isn't visible at Volumes Settings

Expect to help if I find any solution.

pauloch8
2 years ago

It didn't work with the given command.
It ran with:

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

I'm running on Ubuntu 15.04. Nice docker! :D