The issue is that $PWD in the mount destination is evaluated on the host, but the destination path must be valid inside the container.
$PWD
In your case:
dst=$PWD/my_folder/
/home/user/jail/
/home/user/jail/my_folder/
/
ls
Use a relative path for the destination so it lands in the container's current working directory:
apptainer run --mount type=bind,src=$HOME/my_folder/,dst=my_folder/ ~/my_debian.sif ls
Now my_folder/ will appear in the container's working directory, and ls will show it.
my_folder/
This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.
Vibe can make mistakes. Check answers. Learn more