27 August 2022

docker startup command

VOLS="-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro " # add any other mounts you want
echo Exported paths $VOLS
docker run -it --user $(id -u):$(id -g) --rm --gpus all --ipc=host --net=host $VOLS projectmonai/monai:latest bash

No comments: