Skip to content

Packaging x11docker

Martin Viereck edited this page Jan 16, 2023 · 1 revision

Recommendations for packaging x11docker

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 x11docker itself. Other files can be omitted. The desired locations are described in README.md/installed files.
  • x11docker installation options like --install|--update|--remove can be disabled in the first lines of x11docker. Change Packagedversion="no" to Packagedversion="yes".
  • Package names for some distributions are listed in Dependencies.

Hard dependencies

The only hard dependency to make some use of x11docker is bash.

Soft dependencies

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 xinit xauth xclip xhost xrandr xdpyinfo
  • Other tools: catatonit
  • Backends docker|podman|nerdctl are 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 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
      
Clone this wiki locally