While installing TAO, ERROR: nvidia-docker not found

I followed this post as suggested on the previous message: Error setting up TAO Toolkit - 'nvidia-docker not found' - #7 by abhilashcashok

I ran:

~# curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey |
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list |
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
sudo apt-get install -y nvidia-docker2
sudo pkill -SIGHUP dockerd

Got as output:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/$(ARCH) /
#deb https://nvidia.github.io/libnvidia-container/experimental/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/$(ARCH) /
#deb https://nvidia.github.io/nvidia-container-runtime/experimental/ubuntu18.04/$(ARCH) /
deb https://nvidia.github.io/nvidia-docker/ubuntu18.04/$(ARCH) /
Get:1 http://packages.ros.org/ros2/ubuntu jammy InRelease [4,682 B]
Hit:2 https://nvidia.github.io/libnvidia-container/stable/deb/amd64  InRelease
Get:3 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease [1,484 B]
Get:4 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64  InRelease [1,481 B]
Hit:5 https://download.docker.com/linux/ubuntu jammy InRelease
Get:6 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  InRelease [1,474 B]
Get:7 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  Packages [29.2 kB]
Get:8 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64  Packages [7,416 B]
Get:9 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64  Packages [4,488 B]
Ign:10 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/22.04  InRelease
Ign:11 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.27/22.04  InRelease
Get:12 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Err:13 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/22.04  Release
  404  Not Found [IP: 195.135.223.226 443]
Err:14 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.27/22.04  Release
  404  Not Found [IP: 195.135.223.226 443]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,474 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [370 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [990 kB]
Hit:18 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,751 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [437 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [4,018 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [725 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,223 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [302 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [59.5 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [14.2 kB]
Reading package lists... Done
W: https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: The repository 'https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/22.04  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.27/22.04  Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  nvidia-docker2
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 5,128 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 https://nvidia.github.io/libnvidia-container/stable/deb/amd64  nvidia-docker2 2.14.0-1 [5,128 B]
Fetched 5,128 B in 0s (36.9 kB/s)
Selecting previously unselected package nvidia-docker2.
(Reading database ... 132806 files and directories currently installed.)
Preparing to unpack .../nvidia-docker2_2.14.0-1_all.deb ...
Unpacking nvidia-docker2 (2.14.0-1) ...
Setting up nvidia-docker2 (2.14.0-1) ...

Then I logged into my docker container following these steps:
" 1. Get an NGC account and API key.

  1. Go to NGC and click the TAO container in the Catalog tab. NGC displays the message “Sign in to access the PULL feature of this repository.”
  2. Enter your email address and click Next, or click Create an Account.
  3. Choose your organization when prompted for Organization/Team.
  4. Click Sign In.
  5. Log in to the NGC Docker registry (nvcr.io) using the command:

docker login nvcr.io

Then enter these credentials:

a. Username: “$oauthtoken” b. Password: “YOUR_NGC_API_KEY”
Where YOUR_NGC_API_KEY represents the key you generated in step 3."

Got as output: “Login Succeeded”

Then I ran: “bash setup/quickstart_launcher.sh --install”

And still got the error: “ERROR: nvidia-docker not found.”

Here is the full output:

INFO: Check requirements
INFO: Checking Python installation
INFO: python3 found.
INFO: Python version: Python 3.13.5
INFO: pip3 found.
INFO: Pip version: pip 25.1 from /root/miniconda3/lib/python3.13/site-packages/pip (python 3.13)
INFO: Docker found. Checking additional requirements for docker.
INFO: Checking nvidia-docker2 installation
ERROR: nvidia-docker not found.
INFO: NGC CLI found.
INFO: NGC CLI 3.160.1
INFO: Requirements check satisfied. Installing TAO Toolkit.
By installing the TAO Toolkit CLI, you accept the terms and conditions of this license: https://developer.nvidia.com/tao-toolkit-software-license-agreement
Would you like to continue? (y/n): y
INFO: EULA accepted.
INFO: Installing TAO Toolkit CLI
INFO: jupyter installation was found.
Selected Jupyter core packages...
IPython          : 9.4.0
ipykernel        : not installed
ipywidgets       : 8.1.7
jupyter_client   : not installed
jupyter_core     : 5.8.1
jupyter_server   : 2.16.0
jupyterlab       : not installed
nbclient         : not installed
nbconvert        : 7.16.6
nbformat         : 5.10.4
notebook         : 7.4.4
qtconsole        : not installed
traitlets        : 5.14.3
INFO: TAO Toolkit was found
Traceback (most recent call last):
  File "/root/miniconda3/bin/tao", line 5, in <module>
    from nvidia_tao_cli.entrypoint.tao_launcher import main
  File "/root/miniconda3/lib/python3.13/site-packages/nvidia_tao_cli/entrypoint/tao_launcher.py", line 23, in <module>
    from nvidia_tao_cli.components.instance_handler.builder import get_launcher
  File "/root/miniconda3/lib/python3.13/site-packages/nvidia_tao_cli/components/instance_handler/builder.py", line 24, in <module>
    from nvidia_tao_cli.components.instance_handler.local_instance import LocalInstance
  File "/root/miniconda3/lib/python3.13/site-packages/nvidia_tao_cli/components/instance_handler/local_instance.py", line 29, in <module>
    from nvidia_tao_cli.components.docker_handler.docker_handler import (
    ...<2 lines>...
    )
  File "/root/miniconda3/lib/python3.13/site-packages/nvidia_tao_cli/components/docker_handler/docker_handler.py", line 29, in <module>
    import docker
  File "/root/miniconda3/lib/python3.13/site-packages/docker/__init__.py", line 2, in <module>
    from .api import APIClient
  File "/root/miniconda3/lib/python3.13/site-packages/docker/api/__init__.py", line 2, in <module>
    from .client import APIClient
  File "/root/miniconda3/lib/python3.13/site-packages/docker/api/client.py", line 8, in <module>
    import websocket
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/__init__.py", line 23, in <module>
    from ._app import WebSocketApp
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/_app.py", line 36, in <module>
    from ._core import WebSocket, getdefaulttimeout
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/_core.py", line 34, in <module>
    from ._handshake import *
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/_handshake.py", line 30, in <module>
    from ._http import *
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/_http.py", line 33, in <module>
    from ._url import *
  File "/root/miniconda3/lib/python3.13/site-packages/websocket/_url.py", line 27, in <module>
    from six.moves.urllib.parse import urlparse
ModuleNotFoundError: No module named 'six.moves'
INFO:

Again, I’m running inside an Ubuntu 22.04.5 LTS (GNU/Linux 6.6.87.2-microsoft-standard-WSL2 x86_64) environment from my Windows 11 machine.

And by the way, I followed the thread with the exact same issues (Error setting up TAO Toolkit - 'nvidia-docker not found') and this thread too seems to be still open (not solved)