Re:Show HN: GUI Applications in Podman on Wayland
by vanous on Saturday March 26, 2022 @04:20PM
(#30815022)
I have been looking for a way to replace"singularity" (now called app-containers). Is it possible to use podman to run a cli program inside podman container and it would run the program in the container but use local files to work with?
[ Parent
| on HN ]
Re:Show HN: GUI Applications in Podman on Wayland
by moody5bundle on Saturday March 26, 2022 @04:29PM
(#30815083)
that is exactly what this is intended for :)
look at this dockerfile: https://github.com/mody5bundle/capps/blob/main/container/san...
and this "config" lines
https://github.com/mody5bundle/capps/blob/aec6a118139c2008c3...
this will start a cheap "sandbox" aka a gnome-terminal window with its own filesystem and process tree.
you just have to change the config file to mount a volume on the paths you want and maybe tweak the image to your likings :)