起因是要使用nvidia部署好的ngc镜像部署
nvidia@nvidia-desktop:~$ sudo docker images REPOSITORY TAG IMAGE ID CREATED SIZE dreamacro/clash latest 7097279f5650 6 months ago 21.2MB nvidia@nvidia-desktop:~$ sudo docker pull nvcr.io/nvidia/l4t-ml:r32.6.1-py3 r32.6.1-py3: Pulling from nvidia/l4t-ml e47a8a86d66c: Pull complete bdce3430dad6: Pull complete c26a6b81c746: Pull complete a70635e646de: Pull complete 24cbe60e3161: Pull complete c7f64cc97a39: Pull complete 8777adb92eda: Pull complete 542a24b3572f: Pull complete 3d5ade2b8849: Pull complete 3e865584f789: Pull complete 4811af6cacf1: Pull complete db645757aac7: Pull complete 0105dc23dc93: Pull complete c8aff3baf097: Pull complete 5f50b3e38480: Pull complete b5418d85b074: Pull complete d09ffaf0f11a: Pull complete f1cf5625978f: Pull complete 514fd4c3f8c5: Pull complete 0988d0ccf8a6: Pull complete ffce97733d6c: Pull complete 80d5eedfe895: Pull complete d19792019860: Pull complete 3ee7b31a8890: Pull complete 8aca18eb38a5: Pull complete 153000266b1a: Pull complete 23bf7741f5d8: Pull complete d03fa2111a1c: Pull complete 095c23b57578: Pull complete 2de9347ccaf2: Pull complete 0f26c4b0a765: Pull complete ee3bc588c8ee: Pull complete aa25eb953d98: Pull complete 97fd80a69cc6: Pull complete Digest: sha256:1f4ef02343223cab6bbe5bf85d5575364b7ee0ee23d72c2e3b89416ca3806f7e Status: Downloaded newer image for nvcr.io/nvidia/l4t-ml:r32.6.1-py3 nvcr.io/nvidia/l4t-ml:r32.6.1-py3
居然启动不起来也是神奇的不行
sudo docker run --restart always --name nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1- py3
0ea39513b23f44d78345d424e74aa6189ce73e75f09b6634d7bbbafff9442e35
nvidia@nvidia-desktop:~$ sudo docker run --restart always -it --rm --runtime --name nvidia -d --network host nvcr.io/nvi dia/l4t-ml:r32.6.1-py3
docker: Conflicting options: --restart and --rm.
See 'docker run --help'.
nvidia@nvidia-desktop:~$ sudo docker run --restart always -it --runtime --name nvidia -d --network host nvcr.io/nvidia/l 4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified --name.
See 'docker run --help'.
nvidia@nvidia-desktop:~$ sudo docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml: r32.6.1-py3
78d906618def90030da901b09cec873f50d5dbbe632e0172f58072473da1f9bd
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting c
去了nvidia论坛好了一下之前的案例问题,并没解决
nvidia@nvidia-desktop:~$ wget https://launchpad.net/ubuntu/+source/docker.io/20.10.2-0ubuntu1~18.04.2/+build/21335731/+files/docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
--2022-11-28 09:02:34-- https://launchpad.net/ubuntu/+source/docker.io/20.10.2-0ubuntu1~18.04.2/+build/21335731/+files/docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
Resolving launchpad.net (launchpad.net)... 2620:2d:4000:1001::8004, 2620:2d:4000:1001::8003, 185.125.189.223, ...
Connecting to launchpad.net (launchpad.net)|2620:2d:4000:1001::8004|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: https://launchpadlibrarian.net/530942037/docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb [following]
--2022-11-28 09:02:36-- https://launchpadlibrarian.net/530942037/docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 2620:2d:4000:1001::8008, 2620:2d:4000:1001::8007, 185.125.189.228, ...
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|2620:2d:4000:1001::8008|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27525924 (26M) [application/x-debian-package]
Saving to: ‘docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb’
docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb 100%[========================================================================================================>] 26.25M 1.45MB/s in
2022-11-28 09:03:03 (1.09 MB/s) - ‘docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb’ saved [27525924/27525924]
nvidia@nvidia-desktop:~$ sudo dpkg -i docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
dpkg: warning: downgrading docker.io from 20.10.7-0ubuntu5~18.04.3 to 20.10.2-0ubuntu1~18.04.2
(Reading database ... 281134 files and directories currently installed.)
Preparing to unpack docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb ...
Unpacking docker.io (20.10.2-0ubuntu1~18.04.2) over (20.10.7-0ubuntu5~18.04.3) ...
Setting up docker.io (20.10.2-0ubuntu1~18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@nvidia-desktop:~$ rm docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt install containerd==1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package containerd=
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt-get update
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports InRelease [83.3 kB]
Hit:5 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic InRelease [242 kB]
Hit:4 https://repo.download.nvidia.cn/jetson/common r32.6 InRelease
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe Sources [486 kB]
Hit:7 https://repo.download.nvidia.cn/jetson/t194 r32.6 InRelease
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main Sources [536 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse Sources [17.2 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted Sources [31.8 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Ign:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages [11.2 kB]
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Err:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
404 Not Found [IP: 2402:f000:1:400::2 80]
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages [9,361 kB]
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:68 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Err:52 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
404 Not Found [IP: 2402:f000:1:400::2 80]
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:68 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Ign:68 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Err:68 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
404 Not Found [IP: 2402:f000:1:400::2 80]
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Get:70 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main Sources [829 kB]
Get:71 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe Sources [9,051 kB]
Get:72 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted Sources [5,324 B]
Get:73 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main arm64 Packages [975 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Ign:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Ign:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Ign:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Err:74 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
404 Not Found [IP: 2402:f000:1:400::2 80]
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Fetched 261 kB in 5s (51.5 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/common r32.6 InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/t194 r32.6 InRelease' doesn't support architecture 'i386'
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-updates/main/binary-i386/Packages 404 Not Found [IP: 2402:f000:1:400::2 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-security/main/binary-i386/Packages 404 Not Found [IP: 2402:f000:1:400::2 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-backports/main/binary-i386/Packages 404 Not Found [IP: 2402:f000:1:400::2 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 2402:f000:1:400::2 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt install containerd
发现能下载这个,那就先卸载了试试,越走越偏其实,试探错误
nvidia@nvidia-desktop:~$ sudo apt remove containerd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cgroupfs-mount cryptsetup-bin cython dpkg-repack fltk1.3-doc fluid fonts-lato gazebo9 gazebo9-common gazebo9-plugin-base
gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 google-mock googletest grub-common gyp kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11 libapr1-dev
libaprutil1-dev libarmadillo-dev libarpack2-dev libassimp-dev libassimp4 libassuan-dev libavdevice-dev libavfilter-dev libavresample-dev libboost-all-dev libboost-atomic-dev
libboost-chrono-dev libboost-container-dev libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev
libboost-graph-dev libboost-graph-parallel-dev libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-de
libboost-python-dev libboost-random-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-stacktrace-dev libboost-test-dev libboost-timer-dev libboost-tools-
libboost-type-erasure-dev libboost-wave-dev libbullet-dev libbullet2.87 libccd-dev libccd2 libconsole-bridge-dev libconsole-bridge0.4 libdap-dev libdapserver7v5 libdebian-installer4
libepsilon-dev libflann-dev libflann1.9 libfltk-cairo1.3 libfltk-forms1.3 libfltk1.3-dev libfreexl-dev libfyba-dev libgazebo9 libgeos-dev libgeotiff-dev libgif-dev libgl2ps-dev
libgpg-error-dev libgpgme-dev libgraphviz-dev libgtest-dev libgts-dev libgvc6-plugins-gtk libhdf5-mpi-dev libhdf5-openmpi-dev libignition-cmake-dev libignition-common libignition-comm
libignition-fuel-tools1-1 libignition-math4 libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libignition-transport4-dev libjs-async libjs-inherits
libjs-node-uuid libjs-sphinxdoc libjs-underscore libjson-c-dev libjsoncpp-dev libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data
libkf5completion5 libkf5declarative-data libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data
libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1 libkscreenlocker5
libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11 libkwinxrenderutils11 liblog4cxx-dev liblog4cxx10v5 liblz4-dev libminizip-dev libnetcdf-cxx-legacy-dev libogdi3.2-dev libog
libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libopenjp2-7-dev libopenni-dev libopenni-sensor-pointclouds0 libopenni0 libopenni2-0 libopenni2-dev libpcl-apps1.8 libpcl-common1.8
libpcl-features1.8 libpcl-filters1.8 libpcl-io1.8 libpcl-kdtree1.8 libpcl-keypoints1.8 libpcl-ml1.8 libpcl-octree1.8 libpcl-outofcore1.8 libpcl-people1.8 libpcl-recognition1.8
libpcl-registration1.8 libpcl-sample-consensus1.8 libpcl-search1.8 libpcl-segmentation1.8 libpcl-stereo1.8 libpcl-surface1.8 libpcl-tracking1.8 libpcl-visualization1.8 libpococrypto50
libpocodata50 libpocodatamysql50 libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50 libpocomongodb50 libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50
libpocoxml50 libpocozip50 libpoppler-dev libpoppler-private-dev libpostproc-dev libproj-dev libprotobuf-dev libprotoc-dev libprotoc10 libpython-all-dev libqgsttools-p1 libqhull-dev
libqhull-r7 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5quickparticles5 libqt5webkit5-dev libqtpropertybrowser4 libqwt-headers
libqwt-qt5-6 libqwt-qt5-dev librhash0 libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsimbody-dev libsimbody3.5v5 libspatialite-dev libspnav0 libsuperlu-dev libtar-de
libtar0 libtheora-dev libtiff-dev libtinyxml-dev libtinyxml2-6 libtinyxml2-dev libtinyxml2.6.2v5 liburdfdom-dev liburdfdom-headers-dev liburdfdom-model liburdfdom-model-state
liburdfdom-sensor liburdfdom-world liburiparser-dev libuv1-dev libvtk6-java libvtk6-jni libvtk6.3-qt libwebp-dev libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libxcb-composite0 libxcb-cursor0
libxcb-damage0 libxdot4 libxerces-c-dev libxss-dev libyaml-cpp-dev libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13 node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight node-inherit
node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-sem
node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wra
node-yallist openni-utils os-prober pigz protobuf-compiler pyqt5-dev python-all python-all-dev python-autobahn python-automat python-backports.functools-lru-cache python-cbor python-c
python-colorama python-concurrent.futures python-constantly python-cycler python-empy python-gnupg python-gobject python-hyperlink python-incremental python-lz4 python-matplotlib
python-mpi4py python-nacl python-netifaces python-opengl python-pam python-psutil python-pyasn1-modules python-pycryptodome python-pydot python-pyqt5 python-pyqt5.qtopengl python-pyqt
python-pyqt5.qtwebkit python-qrcode python-serial python-service-identity python-sip python-sip-dev python-snappy python-subprocess32 python-trie python-trollius python-twisted
python-twisted-bin python-twisted-core python-txaio python-tz python-u-msgpack python-ubjson python-vtk6 python-wheel python-wsaccel python-wxgtk3.0 python-wxtools python-wxversion
python-xdg python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qtdeclarative5-dev qttools5-dev qttools5-private-dev rake rdate ros-melodic-angles ros-melodic-cmake-modules ros-melodic-cpp-common ros-melodic-gl-dependency ros-melodic-media-export
ros-melodic-qwt-dependency ros-melodic-ros-environment ros-melodic-rosbag-migration-rule ros-melodic-rosboost-cfg ros-melodic-rosclean ros-melodic-roscpp-core
ros-melodic-roscpp-serialization ros-melodic-roscpp-traits ros-melodic-rosgraph ros-melodic-roslint ros-melodic-roslz4 ros-melodic-rosmaster ros-melodic-rospack ros-melodic-rosparam
ros-melodic-rostime ros-melodic-smach ros-melodic-smclib ros-melodic-urdf-parser-plugin ros-melodic-webkit-dependency ros-melodic-xmlrpcpp ruby ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration runc sbcl sdformat-sdf sip-dev tasksel tasksel-data tcl-dev tcl-vtk6 tcl8.6-dev tk-dev tk8.6-dev ttf-deja
ubuntu-fan vtk6 x11proto-scrnsaver-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
containerd docker.io nvidia-docker2
0 upgraded, 0 newly installed, 3 to remove and 2 not upgraded.
After this operation, 290 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 281132 files and directories currently installed.)
Removing nvidia-docker2 (2.2.0-1) ...
Removing docker.io (20.10.2-0ubuntu1~18.04.2) ...
'/usr/share/docker.io/contrib/nuke-graph-directory.sh' -> '/var/lib/docker/nuke-graph-directory.sh'
Warning: Stopping docker.service, but it can still be activated by:
docker.socket
Removing containerd (1.5.5-0ubuntu3~18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt install containerd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package containerd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'containerd' has no installation candidate
不好意思又绕回来了
sudo apt install containerd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package containerd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'containerd' has no installation candidate
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo apt-get update
Get:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security InRelease [88.7 kB]
Hit:5 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:6 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports InRelease [83.3 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic InRelease [242 kB]
Hit:3 https://repo.download.nvidia.cn/jetson/common r32.6 InRelease
Hit:4 https://repo.download.nvidia.cn/jetson/t194 r32.6 InRelease
Get:8 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main Sources [536 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe Sources [486 kB]
Get:10 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse Sources [17.2 kB]
Get:11 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted Sources [31.8 kB]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main arm64 Packages [1,683 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Get:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages [1,571 kB]
Ign:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Err:13 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/main i386 Packages
404 Not Found [IP: 101.6.15.130 80]
Ign:29 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:30 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/universe i386 Packages
Ign:31 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-updates/multiverse i386 Packages
Get:32 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted Sources [29.0 kB]
Get:33 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse Sources [10.6 kB]
Get:34 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main Sources [286 kB]
Get:35 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe Sources [309 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages [1,277 kB]
Ign:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Err:36 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/main i386 Packages
404 Not Found [IP: 101.6.15.130 80]
Ign:53 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-security/multiverse i386 Packages
Get:56 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe Sources [6,600 B]
Get:57 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main Sources [10.5 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [53.3 kB]
Ign:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Ign:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Ign:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages [319 kB]
Err:58 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/main i386 Packages
404 Not Found [IP: 101.6.15.130 80]
Ign:85 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Ign:69 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic-backports/universe i386 Packages
Ign:85 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Ign:85 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Err:85 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/main i386 Packages
404 Not Found [IP: 101.6.15.130 80]
Ign:86 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/universe i386 Packages
Ign:87 http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports bionic/restricted i386 Packages
Fetched 242 kB in 5s (45.7 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/common r32.6 InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/t194 r32.6 InRelease' doesn't support architecture 'i386'
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-updates/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-security/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic-backports/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 80]
E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 101.6.15.130 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
nvidia@nvidia-desktop:~$ cat /etc/ap
apache2/ apg.conf apm/ apparmor/ apparmor.d/ apport/ appstream.conf apt/
nvidia@nvidia-desktop:~$ cat /etc/ap
apache2/ apg.conf apm/ apparmor/ apparmor.d/ apport/ appstream.conf apt/
nvidia@nvidia-desktop:~$ cat /etc/apt/sources.list
sources.list sources.list1 sources.list.d/
nvidia@nvidia-desktop:~$ cat /etc/apt/sources.list1
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security universe
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ bionic-security multiverse
# deb-src http://ports.ubuntu.com/ubuntu-ports/ bionic-security multiverse
nvidia@nvidia-desktop:~$ cat /etc/apt/sources.list
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main universe restricted
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main universe restricted
nvidia@nvidia-desktop:~$ sudo mv /etc/apt/sources.list /etc/apt/sources.list2
nvidia@nvidia-desktop:~$ sudo mv /etc/apt/sources.list1 /etc/apt/sources.list
nvidia@nvidia-desktop:~$ sudo apt-get update
Hit:3 http://packages.ros.org/ros/ubuntu bionic InRelease
Hit:1 https://repo.download.nvidia.cn/jetson/common r32.6 InRelease
Hit:2 https://repo.download.nvidia.cn/jetson/t194 r32.6 InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [83.3 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1,683 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1,683 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [517 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [291 kB]
Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [141 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1,661 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1,661 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1,661 kB]
Ign:23 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [402 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [402 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [297 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [297 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [297 kB]
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Get:31 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [53.2 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [14.6 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [14.6 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 DEP-11 Metadata [8,108 B]
Get:35 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [17.8 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [17.8 kB]
Ign:37 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Get:38 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [10.0 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1,388 kB]
Get:39 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1,388 kB]
Ign:41 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Get:42 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [428 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [49.2 kB]
Ign:44 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:45 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Get:46 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1,114 kB]
Get:47 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [288 kB]
Get:48 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [56.1 kB]
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:23 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Ign:37 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:41 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:45 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:23 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Ign:37 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:41 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Ign:44 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:45 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Err:8 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Err:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:23 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Err:30 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:37 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Err:41 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:44 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:45 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Fetched 8,679 kB in 25s (345 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/common r32.6 InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/t194 r32.6 InRelease' doesn't support architecture 'i386'
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
nvidia@nvidia-desktop:~$ sudo vi /etc/apt/sources.list
sources.list sources.list2 sources.list.d/
nvidia@nvidia-desktop:~$ sudo vi /etc/apt/sources.list
sources.list sources.list2 sources.list.d/
nvidia@nvidia-desktop:~$ sudo vi /etc/apt/sources.list
nvidia@nvidia-desktop:~$ sudo apt install containerd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cgroupfs-mount cryptsetup-bin cython dpkg-repack fltk1.3-doc fluid fonts-lato gazebo9 gazebo9-common gazebo9-plugin-base
gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 google-mock googletest grub-common gyp kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11 libapr1-dev
libaprutil1-dev libarmadillo-dev libarpack2-dev libassimp-dev libassimp4 libassuan-dev libavdevice-dev libavfilter-dev libavresample-dev libboost-all-dev libboost-atomic-dev
libboost-chrono-dev libboost-container-dev libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev
libboost-graph-dev libboost-graph-parallel-dev libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-de
libboost-python-dev libboost-random-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-stacktrace-dev libboost-test-dev libboost-timer-dev libboost-tools-
libboost-type-erasure-dev libboost-wave-dev libbullet-dev libbullet2.87 libccd-dev libccd2 libconsole-bridge-dev libconsole-bridge0.4 libdap-dev libdapserver7v5 libdebian-installer4
libepsilon-dev libflann-dev libflann1.9 libfltk-cairo1.3 libfltk-forms1.3 libfltk1.3-dev libfreexl-dev libfyba-dev libgazebo9 libgeos-dev libgeotiff-dev libgif-dev libgl2ps-dev
libgpg-error-dev libgpgme-dev libgraphviz-dev libgtest-dev libgts-dev libgvc6-plugins-gtk libhdf5-mpi-dev libhdf5-openmpi-dev libignition-cmake-dev libignition-common libignition-comm
libignition-fuel-tools1-1 libignition-math4 libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libignition-transport4-dev libjs-async libjs-inherits
libjs-node-uuid libjs-sphinxdoc libjs-underscore libjson-c-dev libjsoncpp-dev libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data
libkf5completion5 libkf5declarative-data libkf5declarative5 libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data
libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5kiocore5 libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data
libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5
libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1 libkscreenlocker5
libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11 libkwinxrenderutils11 liblog4cxx-dev liblog4cxx10v5 liblz4-dev libminizip-dev libnetcdf-cxx-legacy-dev libogdi3.2-dev libog
libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libopenjp2-7-dev libopenni-dev libopenni-sensor-pointclouds0 libopenni0 libopenni2-0 libopenni2-dev libpcl-apps1.8 libpcl-common1.8
libpcl-features1.8 libpcl-filters1.8 libpcl-io1.8 libpcl-kdtree1.8 libpcl-keypoints1.8 libpcl-ml1.8 libpcl-octree1.8 libpcl-outofcore1.8 libpcl-people1.8 libpcl-recognition1.8
libpcl-registration1.8 libpcl-sample-consensus1.8 libpcl-search1.8 libpcl-segmentation1.8 libpcl-stereo1.8 libpcl-surface1.8 libpcl-tracking1.8 libpcl-visualization1.8 libpococrypto50
libpocodata50 libpocodatamysql50 libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50 libpocomongodb50 libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50
libpocoxml50 libpocozip50 libpoppler-dev libpoppler-private-dev libpostproc-dev libproj-dev libprotobuf-dev libprotoc-dev libprotoc10 libpython-all-dev libqgsttools-p1 libqhull-dev
libqhull-r7 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5quickparticles5 libqt5webkit5-dev libqtpropertybrowser4 libqwt-headers
libqwt-qt5-6 libqwt-qt5-dev librhash0 libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsimbody-dev libsimbody3.5v5 libspatialite-dev libspnav0 libsuperlu-dev libtar-de
libtar0 libtheora-dev libtiff-dev libtinyxml-dev libtinyxml2-6 libtinyxml2-dev libtinyxml2.6.2v5 liburdfdom-dev liburdfdom-headers-dev liburdfdom-model liburdfdom-model-state
liburdfdom-sensor liburdfdom-world liburiparser-dev libuv1-dev libvtk6-java libvtk6-jni libvtk6.3-qt libwebp-dev libwxbase3.0-0v5 libwxgtk3.0-gtk3-0v5 libxcb-composite0 libxcb-cursor0
libxcb-damage0 libxdot4 libxerces-c-dev libxss-dev libyaml-cpp-dev libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13 node-abbrev node-ansi node-ansi-color-table
node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-jar node-delayed-stream
node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-inflight node-inherit
node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-sem
node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wra
node-yallist openni-utils os-prober pigz protobuf-compiler pyqt5-dev python-all python-all-dev python-autobahn python-automat python-backports.functools-lru-cache python-cbor python-c
python-colorama python-concurrent.futures python-constantly python-cycler python-empy python-gnupg python-gobject python-hyperlink python-incremental python-lz4 python-matplotlib
python-mpi4py python-nacl python-netifaces python-opengl python-pam python-psutil python-pyasn1-modules python-pycryptodome python-pydot python-pyqt5 python-pyqt5.qtopengl python-pyqt
python-pyqt5.qtwebkit python-qrcode python-serial python-service-identity python-sip python-sip-dev python-snappy python-subprocess32 python-trie python-trollius python-twisted
python-twisted-bin python-twisted-core python-txaio python-tz python-u-msgpack python-ubjson python-vtk6 python-wheel python-wsaccel python-wxgtk3.0 python-wxtools python-wxversion
python-xdg python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qtdeclarative5-dev qttools5-dev qttools5-private-dev rake rdate ros-melodic-angles ros-melodic-cmake-modules ros-melodic-cpp-common ros-melodic-gl-dependency ros-melodic-media-export
ros-melodic-qwt-dependency ros-melodic-ros-environment ros-melodic-rosbag-migration-rule ros-melodic-rosboost-cfg ros-melodic-rosclean ros-melodic-roscpp-core
ros-melodic-roscpp-serialization ros-melodic-roscpp-traits ros-melodic-rosgraph ros-melodic-roslint ros-melodic-roslz4 ros-melodic-rosmaster ros-melodic-rospack ros-melodic-rosparam
ros-melodic-rostime ros-melodic-smach ros-melodic-smclib ros-melodic-urdf-parser-plugin ros-melodic-webkit-dependency ros-melodic-xmlrpcpp ruby ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration sbcl sdformat-sdf sip-dev tasksel tasksel-data tcl-dev tcl-vtk6 tcl8.6-dev tk-dev tk8.6-dev ttf-dejavu-co
ubuntu-fan vtk6 x11proto-scrnsaver-dev
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
containerd
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 24.7 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 containerd arm64 1.5.5-0ubuntu3~18.04.2 [24.7 MB]
Fetched 24.7 MB in 33s (741 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package containerd.
(Reading database ... 280894 files and directories currently installed.)
Preparing to unpack .../containerd_1.5.5-0ubuntu3~18.04.2_arm64.deb ...
Unpacking containerd (1.5.5-0ubuntu3~18.04.2) ...
Setting up containerd (1.5.5-0ubuntu3~18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@nvidia-desktop:~$ sudo apt install containerd=1.5.2-0ubuntu1~18.04.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.5.2-0ubuntu1~18.04.3' for 'containerd' was not found
哈哈哈,把docker给整没了
nvidia@nvidia-desktop:~$ sudo docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
sudo: docker: command not found
nvidia@nvidia-desktop:~$ sudo journalctl -fu docker.service
-- Logs begin at Mon 2022-11-28 08:25:06 CST. --
Nov 28 09:06:35 nvidia-desktop dockerd[23986]: time="2022-11-28T09:06:35.207063307+08:00" level=info msg="ignoring event" container=0ea39513b23f44d78345d424e74aa6189ce73e75f09b6634d7bbb35 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 28 09:07:35 nvidia-desktop dockerd[23986]: time="2022-11-28T09:07:35.796136607+08:00" level=info msg="ignoring event" container=0ea39513b23f44d78345d424e74aa6189ce73e75f09b6634d7bbb35 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 28 09:08:36 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:36.375165353+08:00" level=info msg="ignoring event" container=0ea39513b23f44d78345d424e74aa6189ce73e75f09b6634d7bbb35 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 28 09:08:56 nvidia-desktop systemd[1]: Stopping Docker Application Container Engine...
Nov 28 09:08:56 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:56.451783324+08:00" level=info msg="Processing signal 'terminated'"
Nov 28 09:08:56 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:56.598423702+08:00" level=info msg="ignoring event" container=0fea6255ffa13301a2c617668480b836e3a14a9461471775e646cb2 module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Nov 28 09:08:56 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:56.796011906+08:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontmespace=moby
Nov 28 09:08:56 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:56.797079804+08:00" level=info msg="Daemon shutdown complete"
Nov 28 09:08:56 nvidia-desktop dockerd[23986]: time="2022-11-28T09:08:56.797343834+08:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" modntainerd namespace=plugins.moby
Nov 28 09:08:56 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
^C
nvidia@nvidia-desktop:~$ dpkg -l | grep docker
ii docker 1.5-1build1 arm64 System tray for KDE3/GNOME2 docklet applications
rc docker.io 20.10.2-0ubuntu1~18.04.2 arm64 Linux container runtime
rc nvidia-docker2 2.2.0-1 all nvidia-docker CLI wrapper
nvidia@nvidia-desktop:~$ sudo docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
sudo: docker: command not found
nvidia@nvidia-desktop:~$ docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
-bash: docker: command not found
兜兜转转又回来了
nvidia@nvidia-desktop:~$ sudo apt-get install docker.io
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin cython dpkg-repack fltk1.3-doc fluid fonts-lato gazebo9 gazebo9-common gazebo9-plugin-base gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 google-mock googletest grub-common gyp kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11 libapr1-dev libaprutil1-dev libarmadillo-
libarpack2-dev libassimp-dev libassimp4 libassuan-dev libavdevice-dev libavfilter-dev libavresample-dev libboost-all-dev libboost-atomic-dev libboost-chrono-dev libboost-container-dev
libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev libboost-graph-dev libboost-graph-parallel-dev
libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-dev libboost-python-dev libboost-random-dev
libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-stacktrace-dev libboost-test-dev libboost-timer-dev libboost-tools-dev libboost-type-erasure-dev libboost-w
libbullet-dev libbullet2.87 libccd-dev libccd2 libconsole-bridge-dev libconsole-bridge0.4 libdap-dev libdapserver7v5 libdebian-installer4 libepsilon-dev libflann-dev libflann1.9
libfltk-cairo1.3 libfltk-forms1.3 libfltk1.3-dev libfreexl-dev libfyba-dev libgazebo9 libgeos-dev libgeotiff-dev libgif-dev libgl2ps-dev libgpg-error-dev libgpgme-dev libgraphviz-dev
libgtest-dev libgts-dev libgvc6-plugins-gtk libhdf5-mpi-dev libhdf5-openmpi-dev libignition-cmake-dev libignition-common libignition-common-dev libignition-fuel-tools1-1 libignition-m
libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libignition-transport4-dev libjs-async libjs-inherits libjs-node-uuid libjs-sphinxdoc libjs-undersco
libjson-c-dev libjsoncpp-dev libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data libkf5decla
libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5k
libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-d
libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgu
libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11 libkwinxrenderutils11 liblog4cxx-dev liblog4cx
liblz4-dev libminizip-dev libnetcdf-cxx-legacy-dev libogdi3.2-dev libogg-dev libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libopenjp2-7-dev libopenni-dev libopenni-sensor-pointclouds0
libopenni0 libopenni2-0 libopenni2-dev libpcl-apps1.8 libpcl-common1.8 libpcl-features1.8 libpcl-filters1.8 libpcl-io1.8 libpcl-kdtree1.8 libpcl-keypoints1.8 libpcl-ml1.8 libpcl-octre
libpcl-outofcore1.8 libpcl-people1.8 libpcl-recognition1.8 libpcl-registration1.8 libpcl-sample-consensus1.8 libpcl-search1.8 libpcl-segmentation1.8 libpcl-stereo1.8 libpcl-surface1.8
libpcl-tracking1.8 libpcl-visualization1.8 libpococrypto50 libpocodata50 libpocodatamysql50 libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50 libpocomongodb50
libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50 libpocoxml50 libpocozip50 libpoppler-dev libpoppler-private-dev libpostproc-dev libproj-dev libprotobuf-dev libprotoc-dev
libprotoc10 libpython-all-dev libqgsttools-p1 libqhull-dev libqhull-r7 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5quickparticl
libqt5webkit5-dev libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-dev librhash0 libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsimbody-dev libsimbody3.5
libspatialite-dev libspnav0 libsuperlu-dev libtar-dev libtar0 libtheora-dev libtiff-dev libtinyxml-dev libtinyxml2-6 libtinyxml2-dev libtinyxml2.6.2v5 liburdfdom-dev liburdfdom-header
liburdfdom-model liburdfdom-model-state liburdfdom-sensor liburdfdom-world liburiparser-dev libuv1-dev libvtk6-java libvtk6-jni libvtk6.3-qt libwebp-dev libwxbase3.0-0v5 libwxgtk3.0-g
libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxdot4 libxerces-c-dev libxss-dev libyaml-cpp-dev libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13 node-abbre
node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-
node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-i
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid nod
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-sem
node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wra
node-yallist openni-utils os-prober protobuf-compiler pyqt5-dev python-all python-all-dev python-autobahn python-automat python-backports.functools-lru-cache python-cbor python-click
python-colorama python-concurrent.futures python-constantly python-cycler python-empy python-gnupg python-gobject python-hyperlink python-incremental python-lz4 python-matplotlib
python-mpi4py python-nacl python-netifaces python-opengl python-pam python-psutil python-pyasn1-modules python-pycryptodome python-pydot python-pyqt5 python-pyqt5.qtopengl python-pyqt
python-pyqt5.qtwebkit python-qrcode python-serial python-service-identity python-sip python-sip-dev python-snappy python-subprocess32 python-trie python-trollius python-twisted
python-twisted-bin python-twisted-core python-txaio python-tz python-u-msgpack python-ubjson python-vtk6 python-wheel python-wsaccel python-wxgtk3.0 python-wxtools python-wxversion
python-xdg python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qtdeclarative5-dev qttools5-dev qttools5-private-dev rake rdate ros-melodic-angles ros-melodic-cmake-modules ros-melodic-cpp-common ros-melodic-gl-dependency ros-melodic-media-export
ros-melodic-qwt-dependency ros-melodic-ros-environment ros-melodic-rosbag-migration-rule ros-melodic-rosboost-cfg ros-melodic-rosclean ros-melodic-roscpp-core
ros-melodic-roscpp-serialization ros-melodic-roscpp-traits ros-melodic-rosgraph ros-melodic-roslint ros-melodic-roslz4 ros-melodic-rosmaster ros-melodic-rospack ros-melodic-rosparam
ros-melodic-rostime ros-melodic-smach ros-melodic-smclib ros-melodic-urdf-parser-plugin ros-melodic-webkit-dependency ros-melodic-xmlrpcpp ruby ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration sbcl sdformat-sdf sip-dev tasksel tasksel-data tcl-dev tcl-vtk6 tcl8.6-dev tk-dev tk8.6-dev ttf-dejavu-co
x11proto-scrnsaver-dev
Use 'sudo apt autoremove' to remove them.
Suggested packages:
aufs-tools btrfs-progs debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
docker.io
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 27.6 MB of archives.
After this operation, 165 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 docker.io arm64 20.10.7-0ubuntu5~18.04.3 [27.6 MB]
65% [1 docker.io 22.4 MB/27.6 MB 81%] 580
66% [1 docker.io 22.6 MB/27.6 MB 82%] 580
Fetched 27.6 MB in 1min 40s (275 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package docker.io.
(Reading database ... 280923 files and directories currently installed.)
Preparing to unpack .../docker.io_20.10.7-0ubuntu5~18.04.3_arm64.deb ...
Unpacking docker.io (20.10.7-0ubuntu5~18.04.3) ...
Setting up docker.io (20.10.7-0ubuntu5~18.04.3) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
nvidia@nvidia-desktop:~$ docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
8b6972616b70f85c23ec5405461ca936f4dbd95a826b3575758f89b225b85765
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syse3: permission denied: unknown.
看看配置文件把
nvidia@nvidia-desktop:~$ vi /etc/docker/daemon.json
nvidia@nvidia-desktop:~$ sudo vi /etc/docker/daemon.json
nvidia@nvidia-desktop:~$ sudo mv /etc/docker/daemon.json /etc/docker/daemon.json1
nvidia@nvidia-desktop:~$ sudo vi /etc/docker/daemon.json
nvidia@nvidia-desktop:~$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
修改docker配置:换源,信任私人docker仓库等。
vi /etc/docker/daemon.json
{
"default-runtime":"nvidia",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://j3h8nmwc.mirror.aliyuncs.com"], #镜像换国内源
"insecure-registries": ["ip:port"] #此处是存有算法镜像的私有仓库地址
}
其实这里是错误的直接复制的话,小伙伴遇到以后把#后面的去掉,ip写成你设备实际地址,端口写成你的设备端口,,后面会张贴我改的。
又开始了我的试错之旅下面
sudo systemctl daemon-reload
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:~$ "systemctl status docker.service"
-bash: systemctl status docker.service: command not found
nvidia@nvidia-desktop:~$ systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-11-28 09:51:11 CST; 28s ago
Docs: https://docs.docker.com
Process: 31962 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 31962 (code=exited, status=1/FAILURE)
Nov 28 09:51:09 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
Nov 28 09:51:11 nvidia-desktop systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 28 09:51:11 nvidia-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Nov 28 09:51:11 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
Nov 28 09:51:11 nvidia-desktop systemd[1]: docker.service: Start request repeated too quickly.
Nov 28 09:51:11 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 09:51:11 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
然后在论坛翻到了这个
nvidia@nvidia-desktop:~$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
> && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
> && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
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) /
nvidia@nvidia-desktop:~$ sudo apt-get update
Hit:1 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:2 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 InRelease [1,484 B]
Get:4 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/arm64 InRelease [1,481 B]
Get:6 https://nvidia.github.io/nvidia-docker/ubuntu18.04/arm64 InRelease [1,474 B]
Hit:3 https://repo.download.nvidia.cn/jetson/common r32.6 InRelease
Hit:5 https://repo.download.nvidia.cn/jetson/t194 r32.6 InRelease
Get:7 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 Packages [16.0 kB]
Get:8 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/arm64 Packages [3,292 B]
Get:9 https://nvidia.github.io/nvidia-docker/ubuntu18.04/arm64 Packages [1,132 B]
Hit:10 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [83.3 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages [1,007 kB]
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:31 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Ign:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages [1,633 kB]
Ign:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:50 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Ign:51 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:52 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:31 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Ign:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:50 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Ign:51 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:52 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:31 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Ign:32 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
Ign:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Ign:50 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
Ign:51 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Ign:52 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
Ign:53 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Err:14 http://ports.ubuntu.com/ubuntu-ports bionic/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:29 http://ports.ubuntu.com/ubuntu-ports bionic/restricted i386 Packages
Ign:30 http://ports.ubuntu.com/ubuntu-ports bionic/universe i386 Packages
Ign:31 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse i386 Packages
Err:32 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:33 http://ports.ubuntu.com/ubuntu-ports bionic-updates/restricted i386 Packages
Ign:34 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe i386 Packages
Ign:49 http://ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse i386 Packages
Err:50 http://ports.ubuntu.com/ubuntu-ports bionic-backports/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:51 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe i386 Packages
Err:52 http://ports.ubuntu.com/ubuntu-ports bionic-security/main i386 Packages
404 Not Found [IP: 2620:2d:4000:1::16 80]
Ign:53 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted i386 Packages
Ign:54 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe i386 Packages
Ign:55 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse i386 Packages
Fetched 286 kB in 16s (17.6 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/common r32.6 InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.download.nvidia.com/jetson/t194 r32.6 InRelease' doesn't support architecture 'i386'
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/main/binary-i386/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
nvidia@nvidia-desktop:~$ sudo apt-get install nvidia-docker2=2.8.0-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin cython dpkg-repack fltk1.3-doc fluid fonts-lato gazebo9 gazebo9-common gazebo9-plugin-base gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 google-mock googletest grub-common gyp kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11 libapr1-dev libaprutil1-dev libarmadillo-
libarpack2-dev libassimp-dev libassimp4 libassuan-dev libavdevice-dev libavfilter-dev libavresample-dev libboost-all-dev libboost-atomic-dev libboost-chrono-dev libboost-container-dev
libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev libboost-graph-dev libboost-graph-parallel-dev
libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-dev libboost-python-dev libboost-random-dev
libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-stacktrace-dev libboost-test-dev libboost-timer-dev libboost-tools-dev libboost-type-erasure-dev libboost-w
libbullet-dev libbullet2.87 libccd-dev libccd2 libconsole-bridge-dev libconsole-bridge0.4 libdap-dev libdapserver7v5 libdebian-installer4 libepsilon-dev libflann-dev libflann1.9
libfltk-cairo1.3 libfltk-forms1.3 libfltk1.3-dev libfreexl-dev libfyba-dev libgazebo9 libgeos-dev libgeotiff-dev libgif-dev libgl2ps-dev libgpg-error-dev libgpgme-dev libgraphviz-dev
libgtest-dev libgts-dev libgvc6-plugins-gtk libhdf5-mpi-dev libhdf5-openmpi-dev libignition-cmake-dev libignition-common libignition-common-dev libignition-fuel-tools1-1 libignition-m
libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libignition-transport4-dev libjs-async libjs-inherits libjs-node-uuid libjs-sphinxdoc libjs-undersco
libjson-c-dev libjsoncpp-dev libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data libkf5decla
libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5k
libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-d
libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgu
libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11 libkwinxrenderutils11 liblog4cxx-dev liblog4cx
liblz4-dev libminizip-dev libnetcdf-cxx-legacy-dev libogdi3.2-dev libogg-dev libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libopenjp2-7-dev libopenni-dev libopenni-sensor-pointclouds0
libopenni0 libopenni2-0 libopenni2-dev libpcl-apps1.8 libpcl-common1.8 libpcl-features1.8 libpcl-filters1.8 libpcl-io1.8 libpcl-kdtree1.8 libpcl-keypoints1.8 libpcl-ml1.8 libpcl-octre
libpcl-outofcore1.8 libpcl-people1.8 libpcl-recognition1.8 libpcl-registration1.8 libpcl-sample-consensus1.8 libpcl-search1.8 libpcl-segmentation1.8 libpcl-stereo1.8 libpcl-surface1.8
libpcl-tracking1.8 libpcl-visualization1.8 libpococrypto50 libpocodata50 libpocodatamysql50 libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50 libpocomongodb50
libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50 libpocoxml50 libpocozip50 libpoppler-dev libpoppler-private-dev libpostproc-dev libproj-dev libprotobuf-dev libprotoc-dev
libprotoc10 libpython-all-dev libqgsttools-p1 libqhull-dev libqhull-r7 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5quickparticl
libqt5webkit5-dev libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-dev librhash0 libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsimbody-dev libsimbody3.5
libspatialite-dev libspnav0 libsuperlu-dev libtar-dev libtar0 libtheora-dev libtiff-dev libtinyxml-dev libtinyxml2-6 libtinyxml2-dev libtinyxml2.6.2v5 liburdfdom-dev liburdfdom-header
liburdfdom-model liburdfdom-model-state liburdfdom-sensor liburdfdom-world liburiparser-dev libuv1-dev libvtk6-java libvtk6-jni libvtk6.3-qt libwebp-dev libwxbase3.0-0v5 libwxgtk3.0-g
libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxdot4 libxerces-c-dev libxss-dev libyaml-cpp-dev libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13 node-abbre
node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-
node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-i
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid nod
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-sem
node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wra
node-yallist openni-utils os-prober protobuf-compiler pyqt5-dev python-all python-all-dev python-autobahn python-automat python-backports.functools-lru-cache python-cbor python-click
python-colorama python-concurrent.futures python-constantly python-cycler python-empy python-gnupg python-gobject python-hyperlink python-incremental python-lz4 python-matplotlib
python-mpi4py python-nacl python-netifaces python-opengl python-pam python-psutil python-pyasn1-modules python-pycryptodome python-pydot python-pyqt5 python-pyqt5.qtopengl python-pyqt
python-pyqt5.qtwebkit python-qrcode python-serial python-service-identity python-sip python-sip-dev python-snappy python-subprocess32 python-trie python-trollius python-twisted
python-twisted-bin python-twisted-core python-txaio python-tz python-u-msgpack python-ubjson python-vtk6 python-wheel python-wsaccel python-wxgtk3.0 python-wxtools python-wxversion
python-xdg python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qtdeclarative5-dev qttools5-dev qttools5-private-dev rake rdate ros-melodic-angles ros-melodic-cmake-modules ros-melodic-cpp-common ros-melodic-gl-dependency ros-melodic-media-export
ros-melodic-qwt-dependency ros-melodic-ros-environment ros-melodic-rosbag-migration-rule ros-melodic-rosboost-cfg ros-melodic-rosclean ros-melodic-roscpp-core
ros-melodic-roscpp-serialization ros-melodic-roscpp-traits ros-melodic-rosgraph ros-melodic-roslint ros-melodic-roslz4 ros-melodic-rosmaster ros-melodic-rospack ros-melodic-rosparam
ros-melodic-rostime ros-melodic-smach ros-melodic-smclib ros-melodic-urdf-parser-plugin ros-melodic-webkit-dependency ros-melodic-xmlrpcpp ruby ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration sbcl sdformat-sdf sip-dev tasksel tasksel-data tcl-dev tcl-vtk6 tcl8.6-dev tk-dev tk8.6-dev ttf-dejavu-co
x11proto-scrnsaver-dev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-container-tools libnvidia-container1 nvidia-container-runtime nvidia-container-toolkit nvidia-container-toolkit-base
The following NEW packages will be installed:
libnvidia-container1 nvidia-container-toolkit-base nvidia-docker2
The following packages will be upgraded:
libnvidia-container-tools nvidia-container-runtime nvidia-container-toolkit
3 upgraded, 3 newly installed, 0 to remove and 8 not upgraded.
Need to get 3,085 kB of archives.
After this operation, 9,073 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 libnvidia-container1 1.11.0-1 [813 kB]
Get:2 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 libnvidia-container-tools 1.11.0-1 [22.5 kB]
Get:3 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 nvidia-container-runtime 3.11.0-1 [4,988 B]
Get:4 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 nvidia-container-toolkit 1.11.0-1 [635 kB]
Get:5 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 nvidia-container-toolkit-base 1.11.0-1 [1,603 kB]
Get:6 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 nvidia-docker2 2.8.0-1 [5,536 B]
Fetched 3,085 kB in 5s (618 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnvidia-container1:arm64.
(Reading database ... 281129 files and directories currently installed.)
Preparing to unpack .../0-libnvidia-container1_1.11.0-1_arm64.deb ...
Unpacking libnvidia-container1:arm64 (1.11.0-1) ...
Preparing to unpack .../1-libnvidia-container-tools_1.11.0-1_arm64.deb ...
Unpacking libnvidia-container-tools (1.11.0-1) over (0.10.0+jetpack) ...
Preparing to unpack .../2-nvidia-container-runtime_3.11.0-1_all.deb ...
Unpacking nvidia-container-runtime (3.11.0-1) over (3.1.0-1) ...
Preparing to unpack .../3-nvidia-container-toolkit_1.11.0-1_arm64.deb ...
Unpacking nvidia-container-toolkit (1.11.0-1) over (1.0.1-1) ...
Selecting previously unselected package nvidia-container-toolkit-base.
Preparing to unpack .../4-nvidia-container-toolkit-base_1.11.0-1_arm64.deb ...
Unpacking nvidia-container-toolkit-base (1.11.0-1) ...
Selecting previously unselected package nvidia-docker2.
Preparing to unpack .../5-nvidia-docker2_2.8.0-1_all.deb ...
Unpacking nvidia-docker2 (2.8.0-1) ...
Setting up libnvidia-container1:arm64 (1.11.0-1) ...
Setting up nvidia-container-toolkit-base (1.11.0-1) ...
Installing new version of config file /etc/nvidia-container-runtime/config.toml ...
Setting up libnvidia-container-tools (1.11.0-1) ...
Setting up nvidia-container-toolkit (1.11.0-1) ...
Setting up nvidia-container-runtime (3.11.0-1) ...
Setting up nvidia-docker2 (2.8.0-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
又偏离了航线,新手上路就是马路杀手
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:~$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:~$ docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
nvidia@nvidia-desktop:~$ sudo rm -r -f /var/lib/docker
nvidia@nvidia-desktop:~$ docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
nvidia@nvidia-desktop:~$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
没看到这个方法你们可以试试,说不准就好了,我眼神不好没看到
去了nvidia论坛找到了一个让尝试的方法
差点偏离的更远了,这个链接你就当作学习把点开
docker启动报错:Job for docker. service failed because the control process exited with error code
sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:~$ mv daemon.json daemon.conf
mv: cannot stat 'daemon.json': No such file or directory
nvidia@nvidia-desktop:~$ cd /etc/
Display all 165 possibilities? (y or n)
nvidia@nvidia-desktop:~$ cd /etc/docker/
nvidia@nvidia-desktop:/etc/docker$ ls
daemon.json daemon.json1 key.json
nvidia@nvidia-desktop:/etc/docker$ mv daemon.json daemon.conf
mv: cannot move 'daemon.json' to 'daemon.conf': Permission denied
nvidia@nvidia-desktop:/etc/docker$ sudo mv daemon.json daemon.conf
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ docker run --restart always -it --runtime nvidia -d --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ docker run --restart always --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime=nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
解决“docker: Error response from daemon: Unknown runtime specified nvidia”问题
sudo apt-get install -y nvidia-docker2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin cython dpkg-repack fltk1.3-doc fluid fonts-lato gazebo9 gazebo9-common gazebo9-plugin-base gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 google-mock googletest grub-common gyp kde-window-manager kinit kio kpackagetool5 kwayland-data kwin-common kwin-data kwin-x11 libapr1-dev libaprutil1-dev libarmadillo-
libarpack2-dev libassimp-dev libassimp4 libassuan-dev libavdevice-dev libavfilter-dev libavresample-dev libboost-all-dev libboost-atomic-dev libboost-chrono-dev libboost-container-dev
libboost-context-dev libboost-coroutine-dev libboost-date-time-dev libboost-exception-dev libboost-fiber-dev libboost-filesystem-dev libboost-graph-dev libboost-graph-parallel-dev
libboost-iostreams-dev libboost-locale-dev libboost-log-dev libboost-math-dev libboost-mpi-dev libboost-mpi-python-dev libboost-numpy-dev libboost-python-dev libboost-random-dev
libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-stacktrace-dev libboost-test-dev libboost-timer-dev libboost-tools-dev libboost-type-erasure-dev libboost-w
libbullet-dev libbullet2.87 libccd-dev libccd2 libconsole-bridge-dev libconsole-bridge0.4 libdap-dev libdapserver7v5 libdebian-installer4 libepsilon-dev libflann-dev libflann1.9
libfltk-cairo1.3 libfltk-forms1.3 libfltk1.3-dev libfreexl-dev libfyba-dev libgazebo9 libgeos-dev libgeotiff-dev libgif-dev libgl2ps-dev libgpg-error-dev libgpgme-dev libgraphviz-dev
libgtest-dev libgts-dev libgvc6-plugins-gtk libhdf5-mpi-dev libhdf5-openmpi-dev libignition-cmake-dev libignition-common libignition-common-dev libignition-fuel-tools1-1 libignition-m
libignition-math4-dev libignition-msgs libignition-msgs-dev libignition-transport4 libignition-transport4-dev libjs-async libjs-inherits libjs-node-uuid libjs-sphinxdoc libjs-undersco
libjson-c-dev libjsoncpp-dev libkdecorations2-5v5 libkdecorations2private5v5 libkf5activities5 libkf5attica5 libkf5completion-data libkf5completion5 libkf5declarative-data libkf5decla
libkf5doctools5 libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5idletime5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-data libkf5kcmutils5 libkf5k
libkf5kiontlm5 libkf5kiowidgets5 libkf5newstuff-data libkf5newstuff5 libkf5newstuffcore5 libkf5package-data libkf5package5 libkf5plasma5 libkf5quickaddons5 libkf5solid5 libkf5solid5-d
libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libkf5textwidgets-data libkf5textwidgets5 libkf5waylandclient5 libkf5waylandserver5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgu
libkml-dev libkmlconvenience1 libkmlregionator1 libkmlxsd1 libkscreenlocker5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11 libkwinxrenderutils11 liblog4cxx-dev liblog4cx
liblz4-dev libminizip-dev libnetcdf-cxx-legacy-dev libogdi3.2-dev libogg-dev libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libopenjp2-7-dev libopenni-dev libopenni-sensor-pointclouds0
libopenni0 libopenni2-0 libopenni2-dev libpcl-apps1.8 libpcl-common1.8 libpcl-features1.8 libpcl-filters1.8 libpcl-io1.8 libpcl-kdtree1.8 libpcl-keypoints1.8 libpcl-ml1.8 libpcl-octre
libpcl-outofcore1.8 libpcl-people1.8 libpcl-recognition1.8 libpcl-registration1.8 libpcl-sample-consensus1.8 libpcl-search1.8 libpcl-segmentation1.8 libpcl-stereo1.8 libpcl-surface1.8
libpcl-tracking1.8 libpcl-visualization1.8 libpococrypto50 libpocodata50 libpocodatamysql50 libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50 libpocomongodb50
libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50 libpocoxml50 libpocozip50 libpoppler-dev libpoppler-private-dev libpostproc-dev libproj-dev libprotobuf-dev libprotoc-dev
libprotoc10 libpython-all-dev libqgsttools-p1 libqhull-dev libqhull-r7 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5quickparticl
libqt5webkit5-dev libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-dev librhash0 libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsimbody-dev libsimbody3.5
libspatialite-dev libspnav0 libsuperlu-dev libtar-dev libtar0 libtheora-dev libtiff-dev libtinyxml-dev libtinyxml2-6 libtinyxml2-dev libtinyxml2.6.2v5 liburdfdom-dev liburdfdom-header
liburdfdom-model liburdfdom-model-state liburdfdom-sensor liburdfdom-world liburiparser-dev libuv1-dev libvtk6-java libvtk6-jni libvtk6.3-qt libwebp-dev libwxbase3.0-0v5 libwxgtk3.0-g
libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxdot4 libxerces-c-dev libxss-dev libyaml-cpp-dev libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13 node-abbre
node-ansi node-ansi-color-table node-archy node-async node-balanced-match node-block-stream node-brace-expansion node-builtin-modules node-combined-stream node-concat-map node-cookie-
node-delayed-stream node-forever-agent node-form-data node-fs.realpath node-fstream node-fstream-ignore node-github-url-from-git node-glob node-graceful-fs node-hosted-git-info node-i
node-inherits node-ini node-is-builtin-module node-isexe node-json-stringify-safe node-lockfile node-lru-cache node-mime node-minimatch node-mkdirp node-mute-stream node-node-uuid nod
node-normalize-package-data node-npmlog node-once node-osenv node-path-is-absolute node-pseudomap node-qs node-read node-read-package-json node-request node-retry node-rimraf node-sem
node-sha node-slide node-spdx-correct node-spdx-expression-parse node-spdx-license-ids node-tar node-tunnel-agent node-underscore node-validate-npm-package-license node-which node-wra
node-yallist openni-utils os-prober protobuf-compiler pyqt5-dev python-all python-all-dev python-autobahn python-automat python-backports.functools-lru-cache python-cbor python-click
python-colorama python-concurrent.futures python-constantly python-cycler python-empy python-gnupg python-gobject python-hyperlink python-incremental python-lz4 python-matplotlib
python-mpi4py python-nacl python-netifaces python-opengl python-pam python-psutil python-pyasn1-modules python-pycryptodome python-pydot python-pyqt5 python-pyqt5.qtopengl python-pyqt
python-pyqt5.qtwebkit python-qrcode python-serial python-service-identity python-sip python-sip-dev python-snappy python-subprocess32 python-trie python-trollius python-twisted
python-twisted-bin python-twisted-core python-txaio python-tz python-u-msgpack python-ubjson python-vtk6 python-wheel python-wsaccel python-wxgtk3.0 python-wxtools python-wxversion
python-xdg python3-dbus.mainloop.pyqt5 python3-icu python3-pam python3-pyqt5 python3-pyqt5.qtsvg python3-pyqt5.qtwebkit qml-module-org-kde-kquickcontrolsaddons qml-module-qtmultimedia
qtdeclarative5-dev qttools5-dev qttools5-private-dev rake rdate ros-melodic-angles ros-melodic-cmake-modules ros-melodic-cpp-common ros-melodic-gl-dependency ros-melodic-media-export
ros-melodic-qwt-dependency ros-melodic-ros-environment ros-melodic-rosbag-migration-rule ros-melodic-rosboost-cfg ros-melodic-rosclean ros-melodic-roscpp-core
ros-melodic-roscpp-serialization ros-melodic-roscpp-traits ros-melodic-rosgraph ros-melodic-roslint ros-melodic-roslz4 ros-melodic-rosmaster ros-melodic-rospack ros-melodic-rosparam
ros-melodic-rostime ros-melodic-smach ros-melodic-smclib ros-melodic-urdf-parser-plugin ros-melodic-webkit-dependency ros-melodic-xmlrpcpp ruby ruby-did-you-mean ruby-minitest
ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.5 rubygems-integration sbcl sdformat-sdf sip-dev tasksel tasksel-data tcl-dev tcl-vtk6 tcl8.6-dev tk-dev tk8.6-dev ttf-dejavu-co
x11proto-scrnsaver-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
nvidia-docker2
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 5,544 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/arm64 nvidia-docker2 2.11.0-1 [5,544 B]
Fetched 5,544 B in 3s (1,969 B/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 281146 files and directories currently installed.)
Preparing to unpack .../nvidia-docker2_2.11.0-1_all.deb ...
Unpacking nvidia-docker2 (2.11.0-1) over (2.8.0-1) ...
Setting up nvidia-docker2 (2.11.0-1) ...
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime=nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo usermod -a -G docker $USER
nvidia@nvidia-desktop:/etc/docker$ nvidia-docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo docker pull nvcr.io/nvidia/l4t-ml:r32.6.1-py3
r32.6.1-py3: Pulling from nvidia/l4t-ml
e47a8a86d66c: Pull complete
bdce3430dad6: Pull complete
c26a6b81c746: Pull complete
a70635e646de: Pull complete
24cbe60e3161: Pull complete
c7f64cc97a39: Pull complete
8777adb92eda: Pull complete
542a24b3572f: Pull complete
3d5ade2b8849: Pull complete
3e865584f789: Pull complete
4811af6cacf1: Pull complete
db645757aac7: Pull complete
0105dc23dc93: Pull complete
c8aff3baf097: Pull complete
5f50b3e38480: Pull complete
b5418d85b074: Pull complete
d09ffaf0f11a: Pull complete
f1cf5625978f: Pull complete
514fd4c3f8c5: Pull complete
0988d0ccf8a6: Pull complete
ffce97733d6c: Pull complete
80d5eedfe895: Pull complete
d19792019860: Pull complete
3ee7b31a8890: Pull complete
8aca18eb38a5: Pull complete
153000266b1a: Pull complete
23bf7741f5d8: Pull complete
d03fa2111a1c: Pull complete
095c23b57578: Pull complete
2de9347ccaf2: Pull complete
0f26c4b0a765: Pull complete
ee3bc588c8ee: Pull complete
aa25eb953d98: Pull complete
97fd80a69cc6: Pull complete
Digest: sha256:1f4ef02343223cab6bbe5bf85d5575364b7ee0ee23d72c2e3b89416ca3806f7e
Status: Downloaded newer image for nvcr.io/nvidia/l4t-ml:r32.6.1-py3
nvcr.io/nvidia/l4t-ml:r32.6.1-py3
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo vi daemon.json1
nvidia@nvidia-desktop:/etc/docker$ sudo vi daemon.conf
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.
nvidia@nvidia-desktop:/etc/docker$ sudo mv daemon.conf daemon.json
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-11-28 10:21:51 CST; 4min 52s ago
Docs: https://docs.docker.com
Process: 4531 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 4531 (code=exited, status=1/FAILURE)
Nov 28 10:21:51 nvidia-desktop systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 28 10:21:51 nvidia-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Nov 28 10:21:51 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
Nov 28 10:21:51 nvidia-desktop systemd[1]: docker.service: Start request repeated too quickly.
Nov 28 10:21:51 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 10:21:51 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
—docker启动容器报错 Unknown runtime specified nvidia
最终我还是把原因定位到了/etc/docker/ daemon.json
nvidia@nvidia-desktop:~$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:~$ journalctl -xe
--
-- The result is RESULT.
Nov 28 10:33:53 nvidia-desktop systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 28 10:33:53 nvidia-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 28 10:33:53 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has finished shutting down.
Nov 28 10:33:53 nvidia-desktop systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has begun starting up.
Nov 28 10:33:53 nvidia-desktop dockerd[4814]: unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character '#' looking for beginning of object key string
Nov 28 10:33:53 nvidia-desktop systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Nov 28 10:33:53 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 10:33:53 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.
Nov 28 10:33:55 nvidia-desktop systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 28 10:33:55 nvidia-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 28 10:33:55 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has finished shutting down.
Nov 28 10:33:55 nvidia-desktop systemd[1]: docker.service: Start request repeated too quickly.
Nov 28 10:33:55 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 10:33:55 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.
Nov 28 10:33:55 nvidia-desktop systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.
^[[Anvidia@nvidia-desktop:/etc/docker$ sudo systemctl daemon-reload
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
nvidia@nvidia-desktop:/etc/docker$ journalctl -xe
--
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 28 10:36:04 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has finished shutting down.
Nov 28 10:36:04 nvidia-desktop systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has begun starting up.
Nov 28 10:36:04 nvidia-desktop dockerd[5326]: time="2022-11-28T10:36:04.219148729+08:00" level=info msg="Starting up"
Nov 28 10:36:04 nvidia-desktop dockerd[5326]: failed to start daemon: insecure registry ip:port is not valid: invalid host "ip"
Nov 28 10:36:04 nvidia-desktop systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Nov 28 10:36:04 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 10:36:04 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
-- The result is RESULT.
Nov 28 10:36:06 nvidia-desktop systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 28 10:36:06 nvidia-desktop systemd[1]: docker.service: Scheduled restart job, restart counter is at 2.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit docker.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Nov 28 10:36:06 nvidia-desktop systemd[1]: Stopped Docker Application Container Engine.
-- Subject: Unit docker.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has finished shutting down.
Nov 28 10:36:06 nvidia-desktop systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has begun starting up.
Nov 28 10:36:06 nvidia-desktop dockerd[5387]: time="2022-11-28T10:36:06.463065664+08:00" level=info msg="Starting up"
Nov 28 10:36:06 nvidia-desktop dockerd[5387]: failed to start daemon: insecure registry ip:port is not valid: invalid host "ip"
Nov 28 10:36:06 nvidia-desktop systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Nov 28 10:36:06 nvidia-desktop systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 28 10:36:06 nvidia-desktop systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit docker.service has failed.
--
应该是之前配置还有问题,小白的路就是坎坷
sudo vi daemon.json
},
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://j3h8nmwc.mirror.aliyuncs.com"],
"insecure-registries": ["192.168.1.9:22"]
}
nvidia@nvidia-desktop:/etc/docker$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
这里的#号后面的我i已经去掉了,这个ip和端口用的我自己的,在保存退出就跑起来了
sudo systemctl restart docker
nvidia@nvidia-desktop:/etc/docker$ sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3
allow 10 sec for JupyterLab to start @ http://192.168.1.9:8888 (password nvidia)
JupterLab logging location: /var/log/jupyter.log (inside the container)
root@nvidia-desktop:/#
本文章记录的就是Jetson下docker使用的几个错误
送上成功的配置文件
{
"default-runtime":"nvidia",
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
},
"registry-mirrors": [
"https://registry.docker-cn.com",
"http://hub-mirror.c.163.com",
"https://docker.mirrors.ustc.edu.cn",
"https://j3h8nmwc.mirror.aliyuncs.com"],
"insecure-registries": ["192.168.1.9:22"]
}
{
"registry-mirrors": ["你的加速仓库地址"],
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
}
2023年又遇到了这个问题我更新到了这里,相同得报错。
以为解决了,其实还得继续如下图
文章来源:https://www.toymoban.com/news/detail-437540.html
感谢这个链接得博主
解决方法如上,文件系统丢失,下一篇写一个如何在jetson设备上使用docker部署tensorflow和ros文章来源地址https://www.toymoban.com/news/detail-437540.html
到了这里,关于Jetson设备下使用docker报错的排错过程完整记录,failed to create shim: OCI runtime create failed: container_linux.go:38 解决“docker: Error response from daemon: Unknown runtime specified nvidia”问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!