Using Docker

Isaac SDK development can be done in Docker container, allowing teams to use a standard environment, and use that environment inside of non-Linux operating systems, such as Windows and Mac OS. This section describes how to build and run an Isaac SDK Docker container. step in troubleshooting problems.

Off the shelf docker is required to build Isaac SDK applications. To install them, run

Copy
Copied!
            

engine/build/docker/install_docker.sh

NVIDIA docker is required. Please follow the instructions at Installation Guide for installation.

  1. After installing dependencies, run following script to create the isaacbuild image for Isaac SDK development:

    Copy
    Copied!
                

    engine/build/docker/create_image.sh

  2. Create a cache volume for faster builds with the following command:

    Copy
    Copied!
                

    docker volume create isacc-sdk-build-cache

  3. Run the container with the following command:

    Copy
    Copied!
                

    docker run --mount source=isaac-sdk-build-cache,target=/root -v `pwd`:/src/workspace -w /src/workspace --runtime=nvidia -it isaacbuild:latest /bin/bash

  4. Run the following command inside the container to build Isaac SDK:

    Copy
    Copied!
                

    bazel build ...

© Copyright 2019, NVIDIA Corporation. Last updated on Feb 1, 2023.