🐛 Do not run as root
parent
6ad8d50552
commit
34b34fc84f
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
# XXX Do not run privileged, use udica instead
|
||||
docker run --gpus all -it --rm --mount type=bind,src="$(pwd)",target=/data --privileged=true -e LOG_LEVEL=$LOG_LEVEL my_ocrd_workflow
|
||||
docker run --user `id -u`:`id -g` --gpus all --rm -t --mount type=bind,src="$(pwd)",target=/data --privileged=true -e LOG_LEVEL=$LOG_LEVEL my_ocrd_workflow
|
||||
|
Loading…
Reference in New Issue