forked from TixiaoShan/LIO-SAM
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (32 loc) · 879 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (32 loc) · 879 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
version: '3'
services:
liosam-humble-jammy-container:
image: liosam-humble-jammy
container_name: liosam-humble-jammy-container
privileged: true
hostname: liosam-humble-jammy-container
restart: always
stdin_open: true
tty: true
network_mode: "host"
dns:
- 1.1.1.1
- 1.0.0.1
- 8.8.8.8
environment:
- "DISPLAY=$DISPLAY"
- "NVIDIA_VISIBLE_DEVICES=all"
- "NVIDIA_DRIVER_CAPABILITIES=all"
- "FASTRTPS_DEFAULT_PROFILES_FILE=/usr/local/share/middleware_profiles/rtps_udp_profile.xml"
volumes:
- "/tmp/.X11-unix:/tmp/.X11-unix"
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- "/dev/*:/dev/*"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]