Skip to content

Commit

Permalink
docs: added nvidia container toolkit required env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Aug 11, 2024
1 parent e10d00b commit 5eae7b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/user/pages/quickstart.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ docker run \
-e HOST_APPS_STATE_FOLDER=/etc/wolf \
-v /etc/wolf:/etc/wolf:rw \
-v /var/run/docker.sock:/var/run/docker.sock:rw \
-e NVIDIA_DRIVER_CAPABILITIES=all \
-e NVIDIA_VISIBLE_DEVICES=all \
--gpus=all \
--device /dev/dri/ \
--device /dev/uinput \
Expand All @@ -109,6 +111,8 @@ services:
environment:
- XDG_RUNTIME_DIR=/tmp/sockets
- HOST_APPS_STATE_FOLDER=/etc/wolf
- NVIDIA_DRIVER_CAPABILITIES=all
- NVIDIA_VISIBLE_DEVICES=all
volumes:
- /etc/wolf/:/etc/wolf
- /tmp/sockets:/tmp/sockets:rw
Expand Down

0 comments on commit 5eae7b8

Please sign in to comment.