Hacker News new | ask | show | jobs
by vanous 1551 days ago
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?
1 comments

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 :)
Awesome, thank you very much, I will give it a spin!