Run X11 applications on docker or podman

2024-03-29 1 min read Linux Networking Docker Containers

Found x11docker project in github. This is a very nice project if you are trying to run GUI applications in dockers. It takes the hassle out and helps you run the GUI applications very easily in docker.

Whats more, if you are on Fedora, you are in luck. You can install this tool with

1
sudo dnf install x11docker

and if you are not on Fedora, then head over to their github. Some other distributions also have it packaged but otherwise also it is very simple to install.

Once installed, you can just follow the examples, there’s a lot of them to get you started and helpful one.

Some exmaples

1
2
3
x11docker --gpu x11docker/xfce glxgears
x11docker x11docker/xfce xfce4-terminal
x11docker --pulseaudio --share=$HOME/Videos jess/vlc

So long.

comments powered by Disqus