-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
33 lines (33 loc) · 1011 Bytes
/
compose.yaml
File metadata and controls
33 lines (33 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
manipulator_multi_controllers:
build:
context: .
dockerfile: Dockerfile
image: manipulator_multi_controllers
stdin_open: true
tty: true
network_mode: host
ipc: host
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-modeset:/dev/nvidia-modeset
- ./controller_error_msgs:/home/ros/src/controller_error_msgs
- ./manipulator_controller:/home/ros/src/manipulator_controller
- ./robots_description:/home/ros/src/robots_description
environment:
- ROS_DOMAIN_ID
- DISPLAY
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=all,graphics,display,video,utility,compute
- __NV_PRIME_RENDER_OFFLOAD=1
- __GLX_VENDOR_LIBRARY_NAME=nvidia