-
Notifications
You must be signed in to change notification settings - Fork 416
Packaging x11docker
Martin Viereck edited this page Nov 21, 2025
·
2 revisions
If you consider to maintain a distribution package of x11docker: Thank you very much, I feel honored!
- I think it is always a good strategy to minimize dependencies. Below I give some recommendations.
- The only essential file from this repository is script
x11dockeritself. Other files can be omitted. The desired locations are described in README.md/installed files. - x11docker installation options like
--install|--update|--removecan be disabled in the first lines of x11docker. ChangePackagedversion="no"toPackagedversion="yes". - Package names for some distributions are listed in Dependencies.
The only hard dependency to make some use of x11docker is bash.
Most useful soft dependencies are collected in image x11docker/xserver. However, as of now images can't be handled by package managers.
So I recommend to install the following:
- X server: One of
nxagent|Xephyr|xpra - X tools: All of
xinitxauthxclipxhostxrandrxdpyinfo - Other tools:
catatonit - Backends
docker|podman|nerdctlare no hard dependency because x11docker can be used as an X server wrapper for host applications as well.- To run containers x11docker also needs one of
jq|python2|python3.
- To run containers x11docker also needs one of
To set another default backend than docker you can create a file /etc/x11docker/preset/default with the content --backend=podman.
This way of configuration is explained in README.md/option preset.
$ cat /etc/x11docker/preset/default
--backend=podman