@@ -10,18 +10,15 @@ services:
1010 container_name : ros2-delto-gripper-ws-volume-instantiation
1111 command : bash -c "
1212 echo 'Creating directories and setting ownership for UID ${USER_UID:-1000}...' &&
13- mkdir -p /isaac-sim/cache/{kit,ov,pip,glcache,computecache} &&
14- mkdir -p /isaac-sim/{logs,data,documents} &&
15- mkdir -p /isaac-sim/standalone/cache/ov &&
16- mkdir -p /isaac-sim/standalone/{logs, data} &&
13+ mkdir -p /isaac-sim/. cache &&
14+ mkdir -p /isaac-sim/.nv/ComputeCache &&
15+ mkdir -p /isaac-sim/.nvidia-omniverse/{logs,config} &&
16+ mkdir -p /isaac-sim/.local/share/ov/{ data,pkg } &&
1717 chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim &&
18- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/cache &&
19- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/cache/{kit,ov,pip,glcache,computecache} &&
20- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/{logs,data,documents} &&
21- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/standalone &&
22- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/standalone/cache &&
23- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/standalone/cache/ov &&
24- chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/standalone/{logs,data}
18+ chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/.cache &&
19+ chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/.nv{,/ComputeCache} &&
20+ chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/.nvidia-omniverse{,/logs,/config} &&
21+ chown ${USER_UID:-1000}:${USER_UID:-1000} /isaac-sim/.local{,/share,/share/ov,/share/ov/data,/share/ov/pkg}
2522 "
2623 volumes:
2724 - isaac-sim-cache:/isaac-sim
@@ -41,7 +38,7 @@ services:
4138 # TODO: Set CUDA Toolkit version or set to "" if not using CUDA Toolkit
4239 # CUDA_TOOLKIT_VERSION: ""
4340 # TODO: Set Isaac Sim version or set to "" if not using Isaac Sim
44- # ISAAC_SIM_VERSION: "5.0 .0"
41+ # ISAAC_SIM_VERSION: "5.1 .0"
4542 # TODO: Set Isaac Lab version or set to "" if not using Isaac Lab
4643 # ISAAC_LAB_VERSION: "2.3.2"
4744 # TODO: Set to "YES" if using Isaac ROS or set to "" if not using Isaac ROS
@@ -133,63 +130,38 @@ services:
133130 # Mount CycloneDDS configuration file.
134131 - ./cyclonedds.xml:/home/user/cyclonedds.xml
135132 # Mount Isaac Sim cache directories.
136- # Reference: https://docs.omniverse.nvidia.com/isaacsim /latest/installation/install_container.html#container-deployment
133+ # Reference: https://docs.isaacsim. omniverse.nvidia.com/latest/installation/install_container.html#container-deployment
137134 # Note that this volume is shared among all workspaces.
138135 - type : volume
139136 source : isaac-sim-cache
140- target : /isaac-sim/kit/ cache
137+ target : /home/user/. cache
141138 volume :
142- subpath : cache/kit
143- - type : volume
144- source : isaac-sim-cache
145- target : /home/user/.cache/ov
146- volume :
147- subpath : cache/ov
148- - type : volume
149- source : isaac-sim-cache
150- target : /home/user/.local/lib/python3.11/site-packages/omni/cache # For Isaac Sim standalone
151- volume :
152- subpath : standalone/cache/ov
153- - type : volume
154- source : isaac-sim-cache
155- target : /home/user/.cache/pip
156- volume :
157- subpath : cache/pip
158- - type : volume
159- source : isaac-sim-cache
160- target : /home/user/.cache/nvidia/GLCache
161- volume :
162- subpath : cache/glcache
139+ subpath : .cache
163140 - type : volume
164141 source : isaac-sim-cache
165142 target : /home/user/.nv/ComputeCache
166143 volume :
167- subpath : cache/computecache
144+ subpath : .nv/ComputeCache
168145 - type : volume
169146 source : isaac-sim-cache
170147 target : /home/user/.nvidia-omniverse/logs
171148 volume :
172- subpath : logs
149+ subpath : .nvidia-omniverse/ logs
173150 - type : volume
174151 source : isaac-sim-cache
175- target : /home/user/.local/lib/python3.11/site-packages/omni/logs # For Isaac Sim standalone
152+ target : /home/user/.nvidia-omniverse/config
176153 volume :
177- subpath : standalone/logs
154+ subpath : .nvidia-omniverse/config
178155 - type : volume
179156 source : isaac-sim-cache
180157 target : /home/user/.local/share/ov/data
181158 volume :
182- subpath : data
183- - type : volume
184- source : isaac-sim-cache
185- target : /home/user/.local/lib/python3.11/site-packages/omni/data # For Isaac Sim standalone
186- volume :
187- subpath : standalone/data
159+ subpath : .local/share/ov/data
188160 - type : volume
189161 source : isaac-sim-cache
190- target : /home/user/Documents
162+ target : /home/user/.local/share/ov/pkg
191163 volume :
192- subpath : documents
164+ subpath : .local/share/ov/pkg
193165 # TODO: Add more volume mounts here.
194166 # Mount root workspace to allow easy access to all workspaces.
195167 - ../..:/home/ros2-essentials
0 commit comments