Commit 1e5f4d7d authored by martin schitter's avatar martin schitter

utlizing nvidias "cudagl" image as base.

use dockers named volumes for persistent data.
fixing stupid errors in the resolve script.
adding a misc folder for auxiliary data.
enhancing the documentation.
parent 7102fa2b
Pipeline #20540207 (#) passed with stages
in 14 minutes and 41 seconds
FROM nvidia/cuda:9.1-runtime-centos7
FROM nvidia/cudagl:9.1-runtime-centos7
RUN yum -y install usbutils pciutils psmisc bzip2 unzip rsync \
mesa-dri-drivers glx-utils mesa-libGLU libXmu libXi libSM freetype librsvg2 \
......@@ -26,4 +26,4 @@ CMD /opt/resolve/bin/resolve
# nvidia-container-runtime
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
\ No newline at end of file
ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES},display
This diff is collapsed.
......@@ -7,14 +7,14 @@ xauth nlist :0 | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -
docker run --rm -ti --network=host \
--runtime=nvidia \
--user $(id -u):$(id -g) \
-e DISPLAY=unix:0.0 \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e XAUTHORITY=$XAUTH \
-v $XAUTH:$XAUTH \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native \
-v ~/.config/resolve:/opt/resolve/configs \
-v ~/.config/resolve_database:/opt/resolve/Resolve\ Disk\ Database \
-v ~/.config/resolve_logs:/opt/resolve/logs \
-v resolve_configs_$USER:/opt/resolve/configs \
-v resolve_database_$USER:/opt/resolve/Resolve\ Disk\ Database \
-v resolve_logs_$USER:/opt/resolve/logs \
-v /srv/archive/test:/opt/resolve/Media \
registry.gitlab.com/mash-graz/resolve $*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment