Run X11 applications on docker or podman

2024-03-29 126 words 1 min read

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

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

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

So long.


Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it