Hi all, what should the "executable" be in submit file where universe = docker, specifically how is it supposed to work with ENTRYPOINT and CMD? My test job works with executable = arguments = "-i <filename>" i.e. the same way I'd run the container from command line as its ENTRYPOINT lists the executable and invariant arguments. So it looks like "arguments" are passed as CMD? Or concatenated "executable + arguments"? Please fix the fine manual as what it currently says (https://htcondor.readthedocs.io/en/v8_8_5/users-manual/docker-universe-applications.html): ''' The executable file can come from one of two places: either from within the containerĂ¢s image, or it can be a script transfered from the submit machine to the scratch directory of the execute machine. To specify the former, use an absolute path (starting with a /) for the executable... ''' does not actually work: with executable = /usr/bin/python arguments = "-s -u /mystuff.egg -c /mystuff.conf -i <filename>" the job fails with ''' mystuff.egg: error: unrecognized arguments: /usr/bin/python -s -u /mystuff.egg ''' and the usage message from argparse. -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachment:
signature.asc
Description: OpenPGP digital signature