[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] home directory in docker universe - docker image's home directory not visible from inside condor job

On 7/15/19 9:10 AM, Gergely Debreczeni via HTCondor-users wrote:

  • when the docker image starts (job starts as condoruser001)  on the execute host the /home directory of the image is not visible, but somehow overmounted with the /home of the host machine

condor   2240390  0.0  0.0 1643144 50472 ?       Ssl  07:48   0:00 /usr/bin/docker run --cpu-shares=100 --memory=128m --cap-drop=all --hostname gdebrecz-262.0-scorpio005 --name HTCJob262_0_slot1_2_PID2240386 --volume /var/lib/condor/execute/dir_2240386:/var/lib/condor/execute/dir_2240386 --volume /scratch:/scratch --volume /data:/data --volume /y:/y --volume /s:/s --volume /r:/r --volume /p:/p --volume /z:/z --workdir /var/lib/condor/execute/dir_2240386 --user 1006:1006 dani_tensorflow:v_02 ./condor_exec.exe 0

Hello Gergely:

This is very strange and unexpected.  The only way I can thing of this happening with the above command line is if the home directory inside the image is a symbolic link to one of the volumen mounted filesystems, like /p/somewhere, which is also happens to be home directory on the host machine.