After investigation I found that the PATH originally set in Dockerfile (ENV PATH ".:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) is not shown up when the image is sent to condor, instead the PATH become to the paths that I set in .bash_profile of my home directory. After giving the absolute path to the executable file, the problem is solved. Another finding is that inside docker container, whoami shows I
am root. But when the docker image sent to condor, whoami shows my
user id, not root's. This caused some permission denied issue. Are there any intentions of doing these? Thank you, Zhuo Edier Zapata wrote on 5/16/2017 12:21
PM:
|