3 ms·
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
by vanous 5y 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?
- moody5bundle 5y agothat is exactly what this is intended for :) look at this dockerfile: https://github.com/mody5bundle/capps/blob/main/container/sandbox/bash.dockerfile https://github.com/mody5bundle/capps/blob/main/container/san... and this "config" lines https://github.com/mody5bundle/capps/blob/aec6a118139c2008c3552763604cb55d197f10f3/config.yml#L130-L143 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 :)
- vanous 5y agoAwesome, thank you very much, I will give it a spin!