Cpu-count docker option support

I was wondering if it would be possible to specify some options to use when running a docker image in a step. For example, on docker windows, containers are run on one (logical) core only and the only way I see to change this behaviour would be to pass the --cpu-count option to docker run.
Is there a way to specify that in a step? Or some other option that does the equivalent?