-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile.2023.1.0-ubuntu22.04
61 lines (56 loc) · 2.4 KB
/
Dockerfile.2023.1.0-ubuntu22.04
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Reference:
# https://gitlab.com/nvidia/container-images/vulkan/-/blob/master/docker/Dockerfile.ubuntu
# https://github.com/NVIDIA-Omniverse/IsaacSim-dockerfiles
#
# Build the image:
# docker login nvcr.io
# docker build --pull -t \
# isaac-sim:2023.1.0-ubuntu22.04 \
# --build-arg ISAACSIM_VERSION=2023.1.0 \
# --file Dockerfile.2023.1.0-ubuntu22.04 .
#
# Run container:
# docker run --name isaac-sim --entrypoint bash -it --gpus all -e "ACCEPT_EULA=Y" --rm --network=host \
# -e "PRIVACY_CONSENT=Y" -e "PRIVACY_USERID=<email>" \
# -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 \
# isaac-sim:2023.1.0-ubuntu22.04 \
# ./isaac-sim.headless.native.sh --allow-root
#
# More info:
# https://developer.nvidia.com/isaac-sim
#
ARG DEBIAN_FRONTEND=noninteractive
ARG ISAACSIM_VERSION=2023.1.0
# https://catalog.ngc.nvidia.com/orgs/nvidia/containers/isaac-sim
FROM nvcr.io/nvidia/isaac-sim:${ISAACSIM_VERSION} as isaac-sim
# ENV OMNI_SERVER http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Isaac/2023.1.0
# ENV OMNI_SERVER omniverse://localhost/NVIDIA/Assets/Isaac/2023.1.0
# ENV OMNI_USER admin
# ENV OMNI_PASS admin
ENV MIN_DRIVER_VERSION 525.60.11
WORKDIR /isaac-sim
# Add symlink
RUN ln -s exts/omni.isaac.examples/omni/isaac/examples extension_examples
# Default entrypoint to launch headless with streaming
ENTRYPOINT /isaac-sim/runheadless.native.sh