jetson-inference: Docker fails after reboot.
I did a clean install of JetPack 6.0DP on my Jetson Orin Nano. Onto a 500 Gb NVMe drive. All good and eveything installed. Then installed jetson-inference and jetson-containers from this site. Everything runs perfectly. Tested almost all examples in inference and all good.
The I rebooted my Jetson. Now docker fails to run. If I run
sudo systemctl status docker
It just says it failed to load. No real error message beyond
docker.service: Failed with result 'error code'.
Process is ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE
Any ideas?
About this issue
- Original URL
- State: open
- Created 4 months ago
- Comments: 22 (7 by maintainers)
I just tried this and it worked for me. Someone posted it in the Nvidia forum thread mentioned above
sudo update-alternatives --set iptables /usr/sbin/iptables-legacysudo apt reinstall docker-ceFigured out how to do this. Ubuntu is still fairly new to me. Found your gz files and the DEB name from the link you gave above Then ran :
sudo ./jetson-containers/packages/opencv/opencv_install.sh https://nvidia.box.com/shared/static/ngp26xb9hb7dqbu6pbs7cs9flztmqwg0.gz OpenCV-4.8.1-aarch64.tar.gzWorked a treat and now I have openCV 4.8.1 installed in the base environment with CUDA support
Thanks Dusty!
@smbunn We ran into this same issue on our AGX Orin running Jetpack 6. I’m not sure what we did differently, but we ran the exact commands mentioned in the post you linked above (where we ran the commands specified in the issue they link to first) and that seemed to do the trick. We are now able to run the image using the
run_dev.shscript.I looked at run.sh and it has --network host which to me seems like it never uses the bridge docker0. But docker itself cannot start up and fails on the bridge connection. I have tried the repair indicated in the nvidia developers forum, but like many others have had to report that this does not work. So at present I maintain a clean 'just installed" image of my Jetson Orin Nano with JetPack 6.0 and try and make sure no updates ever occur. This gets tricky as some installs want you to run update and upgrade. Hopefully someone will figure out how to repair the bridge in Docker so we can resume normal Ubuntu updates processes. When I accidentally allow a script to run that updates, I clone my NVMe drive back to the original and start again. I have now done this so often I keep 2 NVMe drives on the go so I can always swap to the clean one when docker fails.
I will add that this is still worthwhile as the dusty-nv containers are awesome! I am really enjoying using them.