Skip to content

Commit 2e54d09

Browse files
committed
Added an instruction to docs, on how to resolve a potential GPU error in docker
1 parent 5fef90e commit 2e54d09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/demos/manipulation.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,18 @@ manipulation techniques.
114114
docker run --net=host --ipc=host --pid=host -e ROS_DOMAIN_ID=$ROS_DOMAIN_ID --gpus all -it rai:jazzy # or rai:humble
115115
```
116116
117+
Sometimes, passing GPUs to the docker container may result in an error:
118+
119+
```shell
120+
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
121+
```
122+
123+
Restarting the docker service should resolve this error:
124+
125+
```shell
126+
sudo systemctl restart docker
127+
```
128+
117129
4. (Inside the container shell) Download additional ROS 2 dependencies:
118130
119131
```shell

0 commit comments

Comments
 (0)