Skip to content

Commit

Permalink
Disable NVIDIA GPU in Dev Container
Browse files Browse the repository at this point in the history
Signed-off-by: Andrej Orsula <[email protected]>
  • Loading branch information
AndrejOrsula committed Nov 17, 2023
1 parent 38007cf commit cfebca3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
// Network mode
"--network=host",
"--ipc=host",
// NVIDIA GPU
"--gpus=all",
// Other GPUs
"--device=/dev/dri:/dev/dri",
"--group-add=video"
Expand All @@ -31,9 +29,6 @@
// GUI (X11)
"DISPLAY": "${localEnv:DISPLAY}",
"XAUTHORITY": "${localEnv:TMPDIR:/tmp}/xauth_docker_vsc_${localWorkspaceFolderBasename}",
// NVIDIA GPU
"NVIDIA_VISIBLE_DEVICES": "all",
"NVIDIA_DRIVER_CAPABILITIES": "all",
// Isolate ROS 2 communication
"ROS_LOCALHOST_ONLY": "1"
},
Expand Down

0 comments on commit cfebca3

Please sign in to comment.