dev is my personal tool to quickly create and enter dev containers.
It supports running X11 and Wayland apps with audio and gpu access.
This is compatible with Fedora and uses Podman under the hood.
Requires Python3 to be pre-installed.
By default, dev tries to use the base image which has these requirements
- The user in the container has name
user(for volumes) - The user has UID and GID of 1000 (for graphics)
- Has the
rendergroup (for gpu access) alsa-utils,pipewireandpipewire-alsaare installed (for audio)
An example using Debian is provided. Feel free to customise the script and the image provided.
Special thanks to the x11docker wiki!
If --X11 is enabled, run the following to allow connections
xhost +SI:localuser:$USER