-
Notifications
You must be signed in to change notification settings - Fork 380
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
Running X11 server inside a container #221
Comments
Do you want the X server to access the hardware? If you want to use a real Monitor at your pi, you would need Xorg with hardware access. That is possible with a highly privileged container, but I discourage it. If Xorg runs in a container, it might make wrong assumptions on the connected hardware and might damage it. An invisible X server without hardware access like Xvfb would be no problem. You could remotely access it with xpra, or even run xpra+Xvfb in a container. A third possibility is Xwayland in container and Wayland compositor Weston on host. See https://github.com/mviereck/dockerfile-x11docker-xwayland |
I think really you answered my question. Was hoping that it would be possible without increased privileges, so I'll try and use the ways you suggested. Thanks for your help! |
Finally x11docker allows to run Xorg in a container. The X container needs some advanced privileges, but they are not shared with the GUI container. |
I'm curious if it is possible at all to run x11 server and client inside a container. Reason for this is that I'd like to run a pi with nothing but docker and let docker continually pull an updated fully configured image. I know I can (obviously) run server on the pi, but I'm trying to have to avoid as any moving pieces within the pi, and so all the configuration required would be inside the container. Is this possible at all? I've done a lot of searching but have come out blank.
The text was updated successfully, but these errors were encountered: