Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export X socket as a VOLUME to allow launching containers on its DISPLAY #113

Open
olberger opened this issue Apr 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@olberger
Copy link
Contributor

commented Apr 4, 2019

We've been inspired by what https://github.com/JAremko/docker-x11-bridge is doing for an Xpra wrapper, which allows to run an X client inside a container on the Xpra bridge's X server.

The same can be acomplished quite easily for noVNC once the /tmp/.X11-unix is shared as a VOLUME, which allows doing things like:

  • make run
  • docker run --rm --name firefox --volumes-from ubuntu-desktop-lxde-test -e DISPLAY=:1 jess/firefox

See the corresponding trivial VOLUME declaration in: olberger@b4e061d

Hope this makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.