mviereck / x11docker

Run GUI applications and desktops in docker and podman containers. Focus on security.
MIT License
5.62k stars 378 forks source link

x11docker ERROR: Option --share needs an argument #358

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi,

When I launch x11docker-gui I get this error: x11docker ERROR: Option --share needs an argument

x11docker-gui: Startup of x11docker/kaptain was not successfull. Please install package kaptain or provide image x11docker/kaptain with: docker pull x11docker/kaptain

I don't get it, because I already have Kaptain Image: docker pull x11docker/kaptain x11docker/kaptain latest 6f09e3ecdfc2 9 months ago 141MB

Any ideas why I get this error when I try to launch x11docker-gui only ?

mviereck commented 3 years ago

Thank you for the report.

There has been a bug in x11docker-gui. Not sure how old it is, did not check it too long. Please update to master version to get the fix with x11docker --update-master.

ghost commented 3 years ago

Ok, I did this command x11docker --update-master

But still the same error after launching x11docker-gui

mviereck commented 3 years ago

But still the same error after launching x11docker-gui

oh, ok. Likely you have to wait some minutes until github generates a new zip file from the source code. Please try again a bit later.

ghost commented 3 years ago

Ok no problem ;)

ghost commented 3 years ago

All good for me after git pull in the x11docker dir

Thanks a lot ;)

mviereck commented 3 years ago

Great!

ghost commented 3 years ago

Have you tried to port x11docker to python as a pypi package, golang-go or even as a deb package ported to debian repos ?

mviereck commented 3 years ago

Have you tried to port x11docker to python as a pypi package, golang-go or even as a deb package ported to debian repos ?

There is a discussion about porting x11docker, maybe to golang. Currently I am only skilled in bash scripting. I consider to learn C++ or python3 because I need advanced GUI capabilities for another project (microscopy-tools).

A debian package would be already possible with the current bash script. If the Debian maintainers would consider to include x11docker, I would be honored. Though, I didn't ask for it. For arch, alpine and NixOS there are already packages set up by volunteers.

umarcor commented 3 years ago

FTR, eventually there might be a package on MSYS2 too: https://github.com/msys2/MINGW-packages/pull/8044.

ghost commented 3 years ago

Very nice,

Wish I can help, Unfortunately I just know bash also.

mviereck commented 3 years ago

@umarcor Thank you for your PR at MingW!

@eine You might be interested to have a look there, too. https://github.com/msys2/MINGW-packages/pull/8044