jkimlab / msPIPE

14 stars 9 forks source link

Define threads number using docker image #1

Closed criphg closed 1 year ago

criphg commented 1 year ago

Is there a way to define threads number when running the docker image?

jkimlab commented 1 year ago

you can use the -c option with mspipe commands for running with multi-threads. When docker run, simply add -c (num) to the mspipe command as shown in the example below.

docker run -v [local path]:/msPIPE/ jkimlab/mspipe:latest msPIPE.py -p params_docker.conf -o result -c 10