mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🐛 Do not run as root
This commit is contained in:
parent
6ad8d50552
commit
34b34fc84f
1 changed files with 1 additions and 1 deletions
2
run
2
run
|
@ -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…
Add table
Add a link
Reference in a new issue