Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vanous
· 4y ago · 0 comments
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?
Comments
[–]
moody5bundle
4y ago
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 :)
[–]
vanous
OP
4y ago
Awesome, thank you very much, I will give it a spin!