Thanks, Greg for the follow up, solution, and getting it documented here in the thread!
Cheers,
Mike
From:
HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Greg Thain via HTCondor-users <htcondor-users@xxxxxxxxxxx>
Date: Wednesday, June 25, 2025 at 1:02âPM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Cc: Greg Thain <gthain@xxxxxxxxxxx>
Subject: [EXTERNAL] Re: [HTCondor-users] Another Docker/Conda/HTCondor permissions issue
This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.
|
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
|