mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🎨 Improve structure and documentation of run
This commit is contained in:
parent
979c7044a8
commit
868ac5774c
1 changed files with 13 additions and 2 deletions
15
run
15
run
|
@ -1,3 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# XXX Do not run privileged, use udica instead
|
# Run the my_ocrd_workflow container on the current workspace
|
||||||
docker run --user `id -u`:`id -g` --rm -t --mount type=bind,src="$(pwd)",target=/data --privileged=true -e LOG_LEVEL=$LOG_LEVEL my_ocrd_workflow
|
|
||||||
|
# The container currently needs to run privileged to allow it to read from e.g.
|
||||||
|
# /home on SELinux secured systems such as Fedora. We might want to use udica
|
||||||
|
# instead in the future.
|
||||||
|
|
||||||
|
docker run --privileged=true --rm -t \
|
||||||
|
\
|
||||||
|
--user `id -u`:`id -g` \
|
||||||
|
--mount type=bind,src="$(pwd)",target=/data \
|
||||||
|
\
|
||||||
|
-e LOG_LEVEL=$LOG_LEVEL \
|
||||||
|
my_ocrd_workflow
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue