I started to remove Iptables (sudo apt remove iptables) and the package manager removed Docker and Nvidia-Docker in the process. All of the nvidia packages (sudo dpkg-query -l | grep nvidia) seem to be intact, however.
Other than reflashing the Jetson Nano with the SD Card image for Jetpack 4.5.1, is there a way to simply reinstall the correct version of Docker and Nvidia-Docker2 that was used in the original Jetpack image (https://developer.nvidia.com/jetson-nano-sd-card-image.zip)?
Also, can Docker be reinstalled with sudo or does Docker have to be installed as root (sudo su)?
I tried to reinstall Docker by following the instructions at the following links:
- Installation Guide — NVIDIA Cloud Native Technologies documentation
- Install Docker Engine on Ubuntu | Docker Documentation
Docker version 19.03 is working on the Nano. Verified by running "
sudo docker run hello-world"
Nvidia-Docker (NVIDIA Container Toolkit) was also installed successfully.
However, when I verified the install using the following command, I ran into a run-time error: (Driver issue?)
Command: (Cuda 10)
docker run --gpus all -it --rm --network host --volume ~/nvdli-data:/nvdli-nano/data --device /dev/video0 nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.5.0
docker: Error response from daemon: OCI runtime create failed: container_linux.g o:367: starting container process caused: process_linux.go:495: container init c aused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nv idia-container-cli: initialization error: driver error: failed to process reques t: unknown.