opkg update && opkg install dockerd
会报错内核不匹配: $ opkg info kernel Package: kernel Version: 6.1.8-1-c2eafb8d50736566bfff7ce0838adc2a Depends: libc Status: install user installed Architecture: x86_64 Installed-Time: 1674992147
$ opkg install dockerd ... $ opkg install dockerd Collected errors: * pkg_hash_check_unresolved: cannot find dependency kmod-ipt-physdev for dockerd * pkg_hash_check_unresolved: cannot find dependency kmod-nf-ipvs for dockerd * pkg_hash_check_unresolved: cannot find dependency kmod-veth for dockerd * pkg_hash_check_unresolved: cannot find dependency libnetwork for dockerd * pkg_hash_check_unresolved: cannot find dependency tini for dockerd * pkg_hash_check_unresolved: cannot find dependency uci-firewall for dockerd * pkg_hash_fetch_best_installation_candidate: Packages for dockerd found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package dockerd.
![]() | 1 300 2023-02-19 14:43:07 +08:00 直接重新编译升级安装不就添加了吗,配置保留 |
2 Illusionary 2023-02-19 14:48:19 +08:00 如果你原来编译的机器还在,可以把 docker 编译成 ipk 包单独上传安装,记得别更新代码,否则内核版本又对不上了 |
![]() | 3 Bigbigmouse OP @Illusionary 那没救了,之前的内容已经不见了。 |
4 paw0323 2023-03-13 17:53:06 +08:00 把内核版本修改成跟官方库一样的就可以直接装了 |
![]() | 5 Bigbigmouse OP @paw0323 还是需要重新编译内核对吗 |
6 paw0323 2023-03-20 02:08:59 +08:00 via Android @Bigbigmouse 应该不需要吧,我记得在油管看到过类似视频,就是自编译固件怎么下载官方库的 |
![]() | 7 yaott2020 2023-05-07 18:47:38 +08:00 via Android 自编译貌似不能完全用官方库,因为某些 kmod 依赖内核版本,所以建议直接用官方的包。 |