docker / kitematic

Visual Docker Container Management on Mac & Windows
https://kitematic.com
Apache License 2.0
12.23k stars 1.41k forks source link

Linux support #49

Closed funkymonkeymonk closed 9 years ago

funkymonkeymonk commented 10 years ago

Are there any showstopping blockers to working on linux? It looks like a pretty handy tool and I'd love to try it out.

Cediddi commented 9 years ago

I agree with top comments, you need deb, rpm and binary, so other distros can use your package too. Also virtualization doesn't seem right, docker is native on linux, but in case of a migration, moving a virtualbox image would be very handy.

Also any hope for remote docker management with kitematic?

deviantony commented 9 years ago

+1 for native packaging +1 for the Docker daemon on the Linux host

deankarn commented 9 years ago

+1

peernohell commented 9 years ago

I'm on Archlinux so .deb or .rpm is useless for me :p But maybe you can provide a container with the project so we would have only to use it: docker run -p 80:80 kitmatic/kitmatic or I think we can configure our local X server so we can exectute the binary and get it rendred on the X server :)

ruffsl commented 9 years ago

You could use docker to run kitematic, sort of like how shipyard provides public images you can pull and hit the ground running with a quickstart deploy.

Nexion commented 9 years ago

As for Gentoo and other portage-based distros, just sources and a list of dependencies will be enough :)

vosmith commented 9 years ago

+1 for both .deb and .rpm +1 root native host

On Mon, Apr 6, 2015, 3:49 PM Nexie Kind notifications@github.com wrote:

As for Gentoo and other portage-based distros, just sources and a list of dependencies will be enough :)

— Reply to this email directly or view it on GitHub https://github.com/kitematic/kitematic/issues/49#issuecomment-90218871.

ikks commented 9 years ago

+1 on .deb , sources and native host

Mgldvd commented 9 years ago

+1 very nice app. Tnks

f2hex commented 9 years ago

+1 definitely great to have it +1 native host +1 .deb and sources

MarkHerhold commented 9 years ago

+1

zwarag commented 9 years ago

+1

tlongren commented 9 years ago

:+1:

giodamelio commented 9 years ago

:+1:

FrostyX commented 9 years ago

:+1:

drankinn commented 9 years ago

:+1:

+1 navite host +1 docker container I can pull and run. similar to shipyard.

maybenull commented 9 years ago

+1

JesseFarebro commented 9 years ago

:+1:

nicovillanueva commented 9 years ago

Pretty please with sugar on top, :+1:

garyritchie commented 9 years ago

+1

geovanisouza92 commented 9 years ago

+1

zedtux commented 9 years ago

+1

carukc commented 9 years ago

:+1:

bfoujols commented 9 years ago

+1

mattstibbs commented 9 years ago

+1

miguelcobain commented 9 years ago

+1

An official APT repository would be really awesome.

epyonavenger commented 9 years ago

+1

weaseal commented 9 years ago

+1

piedrahitac commented 9 years ago

+1 to .deb, .rpm and binaries. +1 to native host.

daanhorn commented 9 years ago

+1

zedtux commented 9 years ago

Do you know more or less when a Linux release would be available ?

sboily commented 9 years ago

+1

ronnross commented 9 years ago

+1 Is a linux release being considered?

JasCodes commented 9 years ago

+1

jghibiki commented 9 years ago

+1

zedtux commented 9 years ago

Just to share what I know:

Cheers

zedtux commented 9 years ago

Some progresses :)

screenshot from 2015-06-20 12 09 13

screenshot from 2015-06-20 12 11 42

zedtux commented 9 years ago

The hello-world-nginx image is working just fine :)

screenshot from 2015-06-20 12 20 05

zedtux commented 9 years ago

Give it a try !

cd somewhere/on/my/linuxbox
git clone https://github.com/zedtux/kitematic
cd kitematic/
git checkout linux-support
make
sudo npm start

(sudo is required in order to access the local docker daemon).

The repo: https://github.com/zedtux/kitematic/tree/linux-support

entropitor commented 9 years ago

@zedtux I get some errors (on ubuntu 12.04, commit f1360507 from your branch, Docker version 1.0.1, build 990021a):

[8137:0620/131349: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. (electron:8137): IBUS-WARNING **: The owner of /home/jens/.config/ibus/bus is not root! [8137:0620/131351:WARNING:accelerator_util.cc(185)] Invalid accelerator token: command [8137:0620/131546:ERROR:desktop_window_tree_host_x11.cc(810)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType) [8352:0620/131548:INFO:renderer_main.cc(200)] Renderer process started [8352:0620/131548:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 1, remote ID 1) [8352:0620/131548:WARNING:channel.cc(549)] Failed to send message to ack remove remote endpoint (local ID 2147483648, remote ID 2) [8137:0620/131710:ERROR:desktop_window_tree_host_x11.cc(810)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType) [8484:0620/131714:INFO:renderer_main.cc(200)] Renderer process started [8137:0620/131906:ERROR:desktop_window_tree_host_x11.cc(810)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType) [0620/131912:ERROR:nss_util.cc(94)] Failed to create /home/jens/.pki/nssdb directory.

And after a while the app wasn't responding anymore (it wouldn't do anything anymore when I clicked on stuff)

zedtux commented 9 years ago

@caske33 Your error is the following:

[8137:0620/131546:ERROR:desktop_window_tree_host_x11.cc(810)] Not implemented reached in virtual void views::DesktopWindowTreeHostX11::InitModalType(ui::ModalType)

Searching on google I find posts about Chromium. Like http://askubuntu.com/questions/528064/chromium-login-bug for example. Are you using it ?

entropitor commented 9 years ago

I use google chrome as my main browser.

zedtux commented 9 years ago

I'm on Debian and I use Iceweasel (Firefox) so maybe it could be the reason why it's working for me and not for you. Please try the link I gave you and let's hope !

entropitor commented 9 years ago

@zedtux: I get stuck again. And I got again the last error:

[0620/131912:ERROR:nss_util.cc(94)] Failed to create /home/jens/.pki/nssdb directory.

zedtux commented 9 years ago

I don't know why you have this ... I don't have this .pki folder in my home ... :(

zedtux commented 9 years ago

It seems to be related to Chrome again: http://ubuntuforums.org/showthread.php?t=2216009.

entropitor commented 9 years ago

@zedtux I've given chmod go+rw .config/google-chrome seems to fix it. probably because the root user needs access to the chrome settings (because of sudo npm start instead of npm start)

But you can actually run npm start (without the google chrome permission thing) if you make sure your user can run docker. (For ubuntu: http://docs.docker.com/installation/ubuntulinux/#create-a-docker-group, not sure if this also works on other systems)

(by the way, thanks for your work :+1: )

zedtux commented 9 years ago

Thank you @caske33 :)

You can pull my repo, I have (partially) implemented the 'Exec' and 'Docker cli' buttons.

entropitor commented 9 years ago

Not sure what exec is supposed to do. It opens a terminal and soon after closes it again.

Docker cli just opens a terminal in the location where I was when I ran npm start

zedtux commented 9 years ago

Both buttons are doing the same thing which is to open a terminal in the container. Which terminal emulator are you using ?