From 94fa5065ea9caa0ac424a7345ab2aba6b32de947 Mon Sep 17 00:00:00 2001 From: Chitoku YATO Date: Wed, 6 Dec 2023 19:28:54 -0800 Subject: [PATCH] Add instruction to install Docker for JP6 users --- docs/tips_ssd-docker.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/tips_ssd-docker.md b/docs/tips_ssd-docker.md index e8dff318..dcf1640d 100644 --- a/docs/tips_ssd-docker.md +++ b/docs/tips_ssd-docker.md @@ -105,15 +105,29 @@ We are going to show how you can install SSD on your Jetson, and set it up for D ## Docker -1. Install the full NVIDIA JetPack SDK, which includes the `nvidia-container` package. +1. Install `nvidia-container` package. - > **Note**: If you used an NVIDIA-supplied SD card image to flash your SD card, all necessary JetPack components are already pre-installed, so this step can be skipped. + > **Note**: If you used an NVIDIA-supplied SD card image to flash your SD card, all necessary JetPack components (including `nvidia-containers`) and Docker are already pre-installed, so this step can be skipped. ```bash sudo apt update - sudo apt install -y nvidia-jetpack + sudo apt install -y nvidia-container ``` + !!! info "JetPack 6.0 DP users" + + If you flash **Jetson Linux (L4T) R36.2** (JetPack 6.0 DP) on your Jetson using SDK Manager, and install `nvidia-container` using `apt`, on JetPack 6.0 it no longer automatically installs Docker. + + Therefore, you need to run the following to manually install Docker and set it up. + + ``` + sudo apt update + sudo apt install -y nvidia-container curl + curl https://get.docker.com | sh && sudo systemctl --now enable docker + sudo nvidia-ctk runtime configure --runtime=docker + ``` + + 2. Restart the Docker service and add your user to the `docker` group, so that you don't need to use the command with `sudo`. ```bash