-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_docker.sh
More file actions
executable file
·34 lines (29 loc) · 1.02 KB
/
start_docker.sh
File metadata and controls
executable file
·34 lines (29 loc) · 1.02 KB
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
#!/bin/sh
SRC_CONTAINER=/isaac-sim/scripts
SRC_HOST="$(pwd)"/scripts
DATA_CONTAINER=/isaac-sim/project/data
DATA_HOST="$(pwd)"/data
docker build --build-arg DOMAIN_ID=0 -t isaac-ros:humble --file Dockerfile .
xhost + local:root
docker run \
--name isaac-sim \
--entrypoint bash \
-it \
--runtime=nvidia \
--gpus all \
-e "ACCEPT_EULA=Y" \
--rm \
--net host \
--shm-size 16g \
-v ~/docker/isaac-sim/cache/kit:/isaac-sim/kit/cache:rw \
-v ~/docker/isaac-sim/cache/ov:/root/.cache/ov:rw \
-v ~/docker/isaac-sim/cache/pip:/root/.cache/pip:rw \
-v ~/docker/isaac-sim/cache/glcache:/root/.cache/nvidia/GLCache:rw \
-v ~/docker/isaac-sim/cache/computecache:/root/.nv/ComputeCache:rw \
-v ~/docker/isaac-sim/logs:/root/.nvidia-omniverse/logs:rw \
-v ~/docker/isaac-sim/data:/root/.local/share/ov/data:rw \
-v ~/docker/isaac-sim/documents:/root/Documents:rw \
-v $SRC_HOST:$SRC_CONTAINER:rw \
-v $DATA_HOST:$DATA_CONTAINER:rw \
-e "DISPLAY=:1" \
isaac-ros:humble