记录下,在openwrt中安装docker,docker-compose,dockerd遇到如下错误:

Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.104-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-crypto-hash
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.104-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-crypto-crc32c
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.104-1-e469f5589b4c7b368924a6e4f8f7407f) for kmod-lib-crc32c

原因:内核版本不够,升级内核:
去这个网址找openwrt可用的最新的linux内核:https://downloads.openwrt.org/snapshots/targets/x86/64/packages/

wget https://downloads.openwrt.org/snapshots/targets/x86/64/packages/kernel.xxx

然后安装:

opkg install kernel.xxx.ipk
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐