copying files from local drive into a singularity container

  docker, singularity-container

please would you advise :

given a singularity container, how can I copy the files from the local drive to the singularity container ?

I am using a singularity container that is described at :

 https://hub.docker.com/r/tobneu/slamdunk 

(and from the docker image i have made a singularity image for a SLURM cluster)

I have searched the stackoverflow for answers, however, i have found the answer only to the reverse question i.e. copying the files from the singularity container to the local drive.

https://stackoverflow.com/questions/59736299/transferring-files-from-the-singularity-container-into-the-local-directory

thanks a lot,

bogdan

Source: Docker Questions

LEAVE A COMMENT