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

[HTCondor-users] Possible to disable the "docker pull" in htcondor 25?



I recently upgraded to htcondor 25 (by accident, using the convenience script) from htcondor 24 and am now seeing authentication errors because condor is always trying to pull the images from our private registries. I understand I can authenticate the condor user with our private registries, but I'd like to avoid that, if possible:

1. I'd like to disable the automatic pull so images with floating tags are not automatically updated. By separating the pull from the "run" we have direct control. In htcondor 24, condor could see the images that existed on the host; however in htcondor 25 it does not seem to be able to. It seems like the following code cannot see the already-pulled-down-images. 

ââââââ// See if we've already got this image annotation
ââââââauto it = std::ranges::find(imageInfos, annotatedImageName, &DockerAPI::ImageInfo::imageName);
ââââââif (imageInfos.end() ==  it) {
ââââââââââââreturn PullImage();

2. The way our development-laptop-setup-scripts work right now, condor is installed prior to the developer authenticating with our docker registries and each step has a different mechanism (running an installation script vs. using direnv to automatically login as necessary). I could tell everyone "hey run this command after" but I'd like to keep it turn-key and avoid "sudo" in the .envrc file. 


So to sum it up: why is condor not able to see images that already exist on the host and is it possible to configure it to not pull from the registry?

Thank you, 
Jordan