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

Re: [HTCondor-users] set_DockerImage for local image



Jose
Im unable to see the script currently but the logic as follow:
The user provide the script as input file during submit. The user configure the pre_cmd (the script)  and pre_cmd arguments (full image name) in the submit file. 
The script actually run docker pull (imagename) 

But i do recall an issue with the condor users. i think that by default it runs with user nobody so i have created a user for each slot and configured the condor to run with those actual users. 

Please tell me if you need more assistance on that and i will provide more exact information next week.

Thanks 
David 

Get Outlook for Android


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of jcaballero.hep@xxxxxxxxx <jcaballero.hep@xxxxxxxxx>
Sent: Friday, May 28, 2021 2:32:59 PM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: Re: [HTCondor-users] set_DockerImage for local image
 
Hi David,

Thanks for your comments.
How does your script know the name of the image? Is it maybe the wrapper set by config variable DOCKER and it gets the image name parsing the docker command from condor?

Cheers,
Jose

On May 28, 2021, at 9:29 AM, duduhandelman@xxxxxxxxxxx wrote:

ï
Hi Jose.
Im currently using private registry and using a pre command its actually a script that pull the docker image.
Also im pulling the image every time to make sure im using the latest beacuse sometime we are fixing the image without restarting the whole dag.

Tell me if you need more
Thanks David



From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of jcaballero.hep@xxxxxxxxx <jcaballero.hep@xxxxxxxxx>
Sent: Friday, May 28, 2021 11:21:31 AM
To: Condor-Users Mail List <condor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] set_DockerImage for local image
 
Hi,

I understand that the image set in classad DockerImage is being pulled
from DockerHub, is that correct?
I would be interested in using the image from local filesystem rather
than a docker registry.
Is that something that can be done via that, or any other, classad?

Thanks a lot in advance.
Cheers,
Jose
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/