OpenWRT安装docker内核kernel版本不够

记录下,在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

你可能感兴趣的:(linux)