Custom docker invocation

Hi, I’m using cwltool and the DockerRequirement to run a workflow step in a docker container. I would like to give this container access to an existing user-defined (docker) network. Is it possible to customize the arguments passed to docker to do so? Or is there possibly another way?

Welcome @kretep !

For cwltool you can pass --custom-net

Passed to docker run as the ‘–net’ parameter when NetworkAccess is true, which is its default setting.