-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose_jetson.yaml
More file actions
35 lines (35 loc) · 943 Bytes
/
compose_jetson.yaml
File metadata and controls
35 lines (35 loc) · 943 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
34
35
services:
ros1:
container_name: ros1_noetic_devel
build:
context: .
dockerfile: docker/Dockerfile.arm64
hostname: ros_docker
ipc: host
pid: host
privileged: true
network_mode: host
environment:
- DISPLAY=${DISPLAY:-:0}
- NVIDIA_DRIVER_CAPABILITIES=all
- TZ=${TZ:-UTC}
- ROS_LOG_DIR=/var/log/val_logger/noetic_devel
- ROS_MASTER_URI=http://localhost:11311/
- DEBIAN_FRONTEND=noninteractive
volumes:
- ${localWorkspaceFolder:-./}local_mount/:/home/ubuntu/ros_ws
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /tmp/.X11-unix:/tmp/.X11-unix
- /var/log/val_logger:/var/log/val_logger
cap_add:
- NET_ADMIN
- SYS_MODULE
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
count: 1