Notion33 / sdk_manager_docker

Dockerfile to use NVIDIA SDK Manager on Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sdk_manager_docker

Introduction

This is a Dockerfile to use NVIDIA SDK Manager on Docker container.

Important Information

NVIDIA released official Docker image(https://docs.nvidia.com/sdk-manager/docker-containers/index.html).

Requirements

  • Docker

Preparation

Download NVIDIA SDK Manager

Please download the package of NVIDIA SDK Manager from https://developer.nvidia.com/nvidia-sdk-manager.
And, please put the package of NVIDIA SDK Manager in the same directory as the Dockerfile.
This time, I used sdkmanager_1.8.0-10363_amd64.deb.

Build Docker image

docker build --build-arg GID=$(id -g) --build-arg UID=$(id -u) -t jetpack .

To build a Docker image with a specific SDK Manager version override the SDK_MANAGER_VERSION variable in the Docker command line

docker build --build-arg SDK_MANAGER_VERSION=1.8.0-10363 --build-arg GID=$(id -g) --build-arg UID=$(id -u) -t jetpack .

Create Docker container

./launch_container.sh

Launch NVIDIA SDK Manager

Please launch NVIDIA SDK Manager by the following command.

sdkmanager

Please refer to https://docs.nvidia.com/sdk-manager/install-with-sdkm-jetson/index.html. And, I tested in the following setting.

  • Manual Setup
  • OEM Configuration: Runtime

Notes

If you get errors like this, it means that QEMU is not installed in host/container

To configure QEMU, run below, either on host, or the running container.

./configure_qemu.sh

About

Dockerfile to use NVIDIA SDK Manager on Docker container

License:MIT License


Languages

Language:Dockerfile 66.2%Language:Shell 33.8%