How to pass extra switch to docker run command

Is there a way to pass an extra option to the docker run command that cwltool runs? For instance I want to increase the size of the /dev/shm size in the container at runtime like this:
docker run -it --shm-size=256m oracle11g /bin/bash


Hmm, I don’t think that’s possible at the moment. I think you can use parameters to cwltool that would be translated in --memory, --cpus, but not shared memory. Let’s wait to see if others are aware of some way of achieving it.

That’s not a in the CWL reference runner (cwltool), as it would hurt portability.

Can you share more about why this option is needed?