Closed DriftingPig closed 5 years ago
You need to precreate the mount point in the image. So just add a RUN mkdir /your/mount/path. I fee like this check is to strict so I’m going to keep this open and see if we can allow this.
I found that if the docker and NERSC host have the same name, and the directory has only 1 depth, like my image has a folder called /opt, while NERSC has it too, then I won't be able to access the NERSC /opt folder. However, If the folder is more than one depth, like '/global/cscratch1/sd/someone1', it wouldn't override my /global folder.
A site can block some directories. NERSC does that for /global. However the thing you first tried should have worked in my opinion.
I tried to run this script on NERSC cori: (it's trying to use a docker image
kaylanb/desi:obiwan_rtd_jupyter
to do a test run)And it gives me the error:
I think it's because of the '/var/udiMount/' prefix, which makes it unable to create a mount. Can you tell me how to fix that?