Spent hours putting this solution together. Hope it helps someone else. Problem arose on NVIDIA Jetson Orin Nano/AGX. Only tested on AGX so far. Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I had to change the IP address that it was running on since my gateway was 10.0.0.1/8 Then I did the following
#downgrade docker to sudo apt install docker-ce=5:27.5.1-1~ubuntu.22.04~jammy #make sure nvidia toolkit isn't broken sudo apt-get update sudo apt-get install -y nvidia-container-toolkit
modify the /etc/docker/daemon.json
{ "bip": "192.168.2.1/24", "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } } }
restart docker
sudo systemctl restart docker sudo systemctl status docker
delete all your old containers and remake them
Spent hours putting this solution together. Hope it helps someone else. Problem arose on NVIDIA Jetson Orin Nano/AGX. Only tested on AGX so far. Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
I had to change the IP address that it was running on since my gateway was 10.0.0.1/8 Then I did the following
#downgrade docker to sudo apt install docker-ce=5:27.5.1-1~ubuntu.22.04~jammy #make sure nvidia toolkit isn't broken sudo apt-get update sudo apt-get install -y nvidia-container-toolkit
modify the /etc/docker/daemon.json
{ "bip": "192.168.2.1/24", "runtimes": { "nvidia": { "path": "nvidia-container-runtime", "runtimeArgs": [] } } }
restart docker
sudo systemctl restart docker sudo systemctl status docker
delete all your old containers and remake them
Share Improve this question asked Feb 21 at 3:32 Alexander SageAlexander Sage 211 silver badge1 bronze badge1 Answer
Reset to default 0This works for Jetson Orin Nano but you need to run the uninstall and add the keys listed in the official docker install guide and then install the specific version mentioned in the original post. https://docs.docker/engine/install/ubuntu/#install-using-the-repository