[go: nahoru, domu]

Skip to content

Commit

Permalink
enable OpenGL on x86_64 container
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Sep 8, 2022
1 parent 6abf17c commit 7dddf52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
cmake \
nano \
mesa-utils \
lsb-release \
gstreamer1.0-tools \
gstreamer1.0-libav \
Expand Down
1 change: 1 addition & 0 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ elif [ $ARCH = "x86_64" ]; then
--shm-size=8g \
--ulimit memlock=-1 \
--ulimit stack=67108864 \
-e NVIDIA_DRIVER_CAPABILITIES=all \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix/:/tmp/.X11-unix \
$V4L2_DEVICES $DATA_VOLUME $USER_VOLUME \
Expand Down

0 comments on commit 7dddf52

Please sign in to comment.