Installation Using DRIVE OS Docker Containers
On the host system, download the type of Docker software needed for your organization (Enterprise, Desktop, or other) from https://www.docker.com/.
dpkg
with a command similar to the following, where
<docker.deb>
is replaced by the actual filename of the download:
dpkg -i <docker.deb>
wget -gO- https://get.docker.com/ | $(SHELL)
NVIDIA GPU Cloud Access
In order to access NVIDIA GPU Cloud (NGC) (http://ngc.nvidia.com), you need an account specifically created on NGC. Contact your NVIDIA Account Representative to have NGC accounts created for your team.
Signing into NVIDIA GPU Cloud
- On the host system, sign into NGC (https://ngc.nvidia.com/) using your NVIDIA Developer credentials.
- Once you have signed in, select your NGC Organization. DRIVE OS SDK Docker Containers are located under PRIVATE REGISTRY.
- Once signed in, select Setup under the User menu in the top-right of the
page to Generate an API Key in order to pull Docker images. For more
information, see: https://docs.nvidia.com/ngc/ngc-overview/index.html#generating-api-key.Note: Using NVIDIA GPU Cloud is beyond the scope of this document. Please refer to the NVIDIA GPU Cloud documentation for more information.
- From the command line on your host system, log on to the NVIDIA GPU Cloud
with your username and API key with the following command. Replace
${YOUR_USERNAME}
and${YOUR_API_KEY}
with your username and API key respectively.sudo docker login -u="${YOUR_USERNAME}" -p "${YOUR_API_KEY}" nvcr.io
Note:${YOUR_USERNAME}
is commonly$oauthtoken
. Note the$
is part of the username.See Docker Login documentation for more information on login methods.
After you log in, you have access to NVIDIA DRIVE OS SDK Docker images, depending on your specific permissions in the registry.
Setting Up DRIVE OS Linux
The following images are available on NGC in this release:
File Name | Intent |
drive-agx-orin-linux-aarch64-sdk-build-x86:latest | Build and Flash DRIVE 14 Linux SDK |
drive-agx-orin-linux-aarch64-sdk-flash-x86:latest | Flash DRIVE 14 Linux SDK |
Pulling Docker Images from NGC
This example pulls and uses the following NVIDIA DRIVE SDK build/flash image:
- Log into the NVIDIA GPU Cloud (NGC) using instructions in the previous section.
- On the host system, pull the image using the following command.Note:
${MY_NGC_ORG}
is the NGC Organization allocated for your team.sudo docker pull nvcr.io/${MY_NGC_ORG}/drive-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest
Running Linux SDK Docker
sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v ${NV_WORKSPACE}:/home/nvidia/
nvcr.io/${MY_NGC_ORG}/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest