I run this command
apptainer exec myfile.sif ls -la /app
and it will correctly show all the files in the container. However, I try
apptainer exec myfile.sif ls -la ~
and it will show all the files in my home directory.
I’m confused. Why is that? Does the apptainer exec
command automatically bind my home directory to the container?