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

Re: [HTCondor-users] Another Docker/Conda/HTCondor permissions issue



On 6/20/25 13:00, Fienen, Michael N via HTCondor-users wrote:

Hello HTCondor World

 

Now that Greg solved my Docker memory issue, I have one last problem to sort out. Iâm creating a Docker instance from a Dockerfile with a Miniforge-made conda environment. However, I get errors not being able to find python when run through HTCondor. Hereâs the relevant part of the Dockerfile â note the PATH.


Following up for the list at large, as we solved this off-list.

When HTCondor runs a docker universe job, it runs the job as the same unix user that we would for vanilla universe.  If the docker container is expecting to run a particular user, this is unlikely to be the same as HTCondor will select.  In this case, the HTCondor pool was configured to run all jobs as the "nobody" user, and the container was unhappy with that.  Adding this user to the container allowed it to run properly.

-greg