While I think it is great to explore using containers for isolate desktop apps, that is my understanding of what tools like Flatpak and snapd does already. I'd love to see them implemented into the standard container ecosystem though. However, this is limited to Xorg (which is fine for most applications), however there is growing native support for Wayland.
x11docker supports Wayland, too. It can directly pass Wayland access from host to containers, or run containered Wayland applications on host X using a nested Weston window.
With the help of xpra it can run X application in container on a pure Wayland host.
It has wine and some old windows-only apps. I took a different approach, and used a VNC server. Not quite as fast, but doesn't require the host to have an Xserver. I even include a little web-based VNC client, so no install is needed.
Yesterday I tried another project names 'docker-wine', my goal was to run Frontpage 98. It didn't work so well. I guess I'll have to run a Windows 98 in a VM..
Is there anyway to pass exclusive access to a physical display to a docker container? I've been wanting to have this for a status display on some home servers.
[+] [-] mg|4 years ago|reply
It probably has a lot of security and convenience functionality.
A minimal approach to run graphical applications inside a Docker container is this one-liner:
docker run -it --rm -e DISPLAY --net=host -v $XAUTHORITY:/root/.Xauthority -v /tmp/.X11-unix:/tmp/.X11-unix debian:11-slim
Then inside the container, run:
Now Firefox runs inside the container and you can use it.[+] [-] nextaccountic|4 years ago|reply
A shell script with 9000 lines probably has a lot of security issues..
[+] [-] mviereck|4 years ago|reply
[+] [-] mohanmcgeek|4 years ago|reply
https://flathub.org/home
[+] [-] encryptluks2|4 years ago|reply
[+] [-] Arnavion|4 years ago|reply
The principle of nesting Xephyr inside the host X server easily extends to nesting cage or sway or weston inside the host's wayland compositor.
[+] [-] mviereck|4 years ago|reply
[+] [-] konsumer|4 years ago|reply
It has wine and some old windows-only apps. I took a different approach, and used a VNC server. Not quite as fast, but doesn't require the host to have an Xserver. I even include a little web-based VNC client, so no install is needed.
[+] [-] jandeboevrie|4 years ago|reply
In that case it's legacy applications not available on newer distros.
[+] [-] marcodiego|4 years ago|reply
[+] [-] zorr|4 years ago|reply
https://github.com/mviereck/kaptain
[+] [-] ritonlajoie|4 years ago|reply
[+] [-] mycall|4 years ago|reply
https://www.dosbox.com/comp_list.php?showID=3485&letter=W
[+] [-] gravypod|4 years ago|reply
[+] [-] splittingTimes|4 years ago|reply
[+] [-] Jnr|4 years ago|reply