Jus*_*505 4 linux ubuntu kernel linux-kernel docker
当我尝试运行 hello-world docker 映像时,出现以下错误:
\nubuntu@ubuntu:~$ sudo docker run hello-world\ndocker: Error response from daemon: failed to create endpoint frosty_varahamihira on network bridge: failed to add the host (vethc6c068f) <=> sandbox (veth82a7475) pair interfaces: operation not supported.\nERRO[0000] error waiting for container: context canceled\nRun Code Online (Sandbox Code Playgroud)\n我红色了这篇文章,这似乎是完全相同的问题,但我无法安装不同的内核。
\n我尝试了以下方法来安装新内核,这导致了下一个错误:
\nubuntu@ubuntu:~$ sudo wget https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.5/amd64/linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb\n--2021-10-22 13:47:14-- https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.7.5/amd64/linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb\nResolving kernel.ubuntu.com (kernel.ubuntu.com)... 91.189.94.216\nConnecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 1223448 (1.2M) [application/x-debian-package]\nSaving to: \xe2\x80\x98linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb\xe2\x80\x99\n\nlinux-headers-5.7.5-050705-generic_5.7.5-05070 100%[===================================================================================================>] 1.17M 2.53MB/s in 0.5s\n\n2021-10-22 13:47:20 (2.53 MB/s) - \xe2\x80\x98linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb\xe2\x80\x99 saved [1223448/1223448]\n\nubuntu@ubuntu:~$ sudo dpkg -i *.deb\ndpkg: error processing archive linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb (--install):\n package architecture (amd64) does not match system (arm64)\ndpkg: error processing archive linux-image-unsigned-5.14.9-051409-generic_5.14.9-051409.202109300934_amd64.deb (--install):\n package architecture (amd64) does not match system (arm64)\nErrors were encountered while processing:\n linux-headers-5.7.5-050705-generic_5.7.5-050705.202006220832_amd64.deb\n linux-image-unsigned-5.14.9-051409-generic_5.14.9-051409.202109300934_amd64.deb\nRun Code Online (Sandbox Code Playgroud)\n例如,对于该错误,我发现了这个,但这没有帮助。
\n这也可能有帮助
\nubuntu@ubuntu:~$ ls -l /boot\ntotal 33299\n-rw------- 1 root root 5112454 Sep 29 07:51 System.map-5.13.0-1008-raspi\n-rw-r--r-- 1 root root 241335 Sep 29 07:51 config-5.13.0-1008-raspi\ndrwxr-xr-x 4 root root 2560 Jan 1 1970 firmware\nlrwxrwxrwx 1 root root 28 Oct 13 13:29 initrd.img -> initrd.img-5.13.0-1008-raspi\n-rw-r--r-- 1 root root 19242515 Oct 13 13:30 initrd.img-5.13.0-1008-raspi\nlrwxrwxrwx 1 root root 28 Oct 13 13:29 initrd.img.old -> initrd.img-5.13.0-1008-raspi\nlrwxrwxrwx 1 root root 25 Oct 13 13:29 vmlinuz -> vmlinuz-5.13.0-1008-raspi\n-rw------- 1 root root 9492544 Sep 29 07:51 vmlinuz-5.13.0-1008-raspi\nlrwxrwxrwx 1 root root 25 Oct 13 13:29 vmlinuz.old -> vmlinuz-5.13.0-1008-raspi\nRun Code Online (Sandbox Code Playgroud)\n我在用Raspberry Pi 4 Model B Rev 1.2。这里还有其他版本:
码头工人
\nubuntu@ubuntu:~$ docker --version\nDocker version 20.10.7, build 20.10.7-0ubuntu5\nRun Code Online (Sandbox Code Playgroud)\nUbuntu 操作系统版本
\nUbuntu 21.10 aarch64\nRun Code Online (Sandbox Code Playgroud)\n核心
\nubuntu@ubuntu:~$ uname -rn\nubuntu 5.13.0-1008-raspi\nRun Code Online (Sandbox Code Playgroud)\n我感谢任何提示和想法!
\n| 归档时间: |
|
| 查看次数: |
4410 次 |
| 最近记录: |