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

Re: [HTCondor-users] Docker `DOCKER_EXTRA_ARGUMENTS` per job



On 3/3/25 10:01, Thomas Birkett - STFC UKRI via HTCondor-users wrote:

Iâm looking at having the ClassAd `DOCKER_EXTRA_ARGUMENTS` configurable on a per-job basis? I notice this request was asked a few years ago (https://www-auth.cs.wisc.edu/lists/htcondor-users/2022-August/msg00061.shtml) and wondered if there has been any development in this area? Currently we serve our requirement by having a wrapper script called rather than the Docker binary which works however itâs not optimal. Weâve recently moved to HTCondor 24 and was curious if weâre able to natively set `DOCKER_EXTRA_ARGUMENTS` based on submitted user for example?


HI Thomas:

Nothing has changed re: DOCKER_EXTRA_ARGUMENTS, it is still a string literal.  Our usual approach of making this a classad _expression_ that can be evaluated in the context of the job or machine ad might be a solution in the future, but this might also require pretty unwieldy expressions.

-greg