Docker failed to Install on 24.10.4 - OpenWRT on FriendlyElec R6S

Cannot install docker from the official repo on the R6S

opkg udate
pkg install docker
Unknown package 'docker'.
Collected errors:

pkg_hash_check_unresolved: cannot find dependency libc for docker
pkg_hash_fetch_best_installation_candidate: Packages for docker found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package docker

Confirmed the package exists and works in the vendor's fork (FriendlyWrt), but fails on the official build due to an architecture/dependency mismatch

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='24.10.4'
DISTRIB_REVISION='r28959-29397011cc'
DISTRIB_TARGET='rockchip/armv8'
DISTRIB_ARCH='aarch64_generic'
DISTRIB_DESCRIPTION='OpenWrt 24.10.4 r28959-29397011cc'
DISTRIB_TAINTS=''

Not sure if these are typos just in the post, or if this is what you had actually entered into the system...

what is the output of this:

ubus call system board
opkg update
opkg list | grep docker

Will reply shortly. Yes the pkg was a typo and should be opkg

1 Like

See attached output from commands



BusyBox v1.36.1 (2025-10-19 16:37:45 UTC) built-in shell (ash)



  _______                     ________        __

|       |.-----.-----.-----.|  |  |  |.----.|  |_

|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|

|_______||   __|_____|__|__||________||__|  |____|

          |__| W I R E L E S S   F R E E D O M

-----------------------------------------------------

OpenWrt 24.10.4, r28959-29397011cc

-----------------------------------------------------

root@R6SOpenWrt:~# ubus call system board

{

	"kernel": "6.6.110",

	"hostname": "R6SOpenWrt",

	"system": "ARMv8 Processor rev 0",

	"model": "FriendlyElec NanoPi R6S",

	"board_name": "friendlyarm,nanopi-r6s",

	"rootfs_type": "squashfs",

	"release": {

		"distribution": "OpenWrt",

		"version": "24.10.4",

		"revision": "r28959-29397011cc",

		"target": "rockchip/armv8",

		"description": "OpenWrt 24.10.4 r28959-29397011cc",

		"builddate": "1760891865"

	}

}

root@R6SOpenWrt:~# opkg update

Downloading https://downloads.openwrt.org/releases/24.10.4/targets/rockchip/armv8/packages/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_core

Downloading https://downloads.openwrt.org/releases/24.10.4/targets/rockchip/armv8/packages/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/base/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_base

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/base/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/targets/rockchip/armv8/kmods/6.6.110-1-77d4782035a23e6f19f9c4751451b4e3/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_kmods

Downloading https://downloads.openwrt.org/releases/24.10.4/targets/rockchip/armv8/kmods/6.6.110-1-77d4782035a23e6f19f9c4751451b4e3/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/luci/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_luci

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/luci/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/packages/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_packages

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/packages/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/routing/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_routing

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/routing/Packages.sig

Signature check passed.

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/telephony/Packages.gz

Updated list of available packages in /var/opkg-lists/openwrt_telephony

Downloading https://downloads.openwrt.org/releases/24.10.4/packages/aarch64_generic/telephony/Packages.sig

Signature check passed.

root@R6SOpenWrt:~# opkg list | grep docker

docker - 27.3.1-r1 - The CLI used in the Docker CE and Docker EE products.

docker-compose - 2.39.1-r1 - Multi-container orchestration for Docker

dockerd - 27.3.1-r3 - The Docker CE Engine.

luci-app-dockerman - 0.5.13.20241008-r1 - LuCI Support for docker

luci-i18n-dockerman-ar - 25.326.24281~461e369 - Translation for luci-app-dockerman - العربية (Arabic)

luci-i18n-dockerman-bg - 25.326.24281~461e369 - Translation for luci-app-dockerman - български (Bulgarian)

luci-i18n-dockerman-bn - 25.326.24281~461e369 - Translation for luci-app-dockerman - বাংলা (Bengali)

luci-i18n-dockerman-ca - 25.326.24281~461e369 - Translation for luci-app-dockerman - Català (Catalan)

luci-i18n-dockerman-cs - 25.326.24281~461e369 - Translation for luci-app-dockerman - Čeština (Czech)

luci-i18n-dockerman-da - 25.326.24281~461e369 - Translation for luci-app-dockerman - Dansk (Danish)

luci-i18n-dockerman-de - 25.326.24281~461e369 - Translation for luci-app-dockerman - Deutsch (German)

luci-i18n-dockerman-el - 25.326.24281~461e369 - Translation for luci-app-dockerman - Ελληνικά (Greek)

luci-i18n-dockerman-es - 25.326.24281~461e369 - Translation for luci-app-dockerman - Español (Spanish)

luci-i18n-dockerman-fa - 25.326.24281~461e369 - Translation for luci-app-dockerman - Farsi (Persian)

luci-i18n-dockerman-fi - 25.326.24281~461e369 - Translation for luci-app-dockerman - Suomi (Finnish)

luci-i18n-dockerman-fr - 25.326.24281~461e369 - Translation for luci-app-dockerman - Français (French)

luci-i18n-dockerman-ga - 25.326.24281~461e369 - Translation for luci-app-dockerman - Gaeilge (Irish)

luci-i18n-dockerman-he - 25.326.24281~461e369 - Translation for luci-app-dockerman - עִבְרִית (Hebrew)

luci-i18n-dockerman-hi - 25.326.24281~461e369 - Translation for luci-app-dockerman - हिंदी (Hindi)

luci-i18n-dockerman-hu - 25.326.24281~461e369 - Translation for luci-app-dockerman - Magyar (Hungarian)

luci-i18n-dockerman-it - 25.326.24281~461e369 - Translation for luci-app-dockerman - Italiano (Italian)

luci-i18n-dockerman-ja - 25.326.24281~461e369 - Translation for luci-app-dockerman - 日本語 (Japanese)

luci-i18n-dockerman-ko - 25.326.24281~461e369 - Translation for luci-app-dockerman - 한국어 (Korean)

luci-i18n-dockerman-lt - 25.326.24281~461e369 - Translation for luci-app-dockerman - Lietuvių (Lithuanian)

luci-i18n-dockerman-mr - 25.326.24281~461e369 - Translation for luci-app-dockerman - Marāṭhī (Marathi)

luci-i18n-dockerman-ms - 25.326.24281~461e369 - Translation for luci-app-dockerman - Bahasa Melayu (Malay)

luci-i18n-dockerman-nl - 25.326.24281~461e369 - Translation for luci-app-dockerman - Nederlands (Dutch)

luci-i18n-dockerman-no - 25.326.24281~461e369 - Translation for luci-app-dockerman - Norsk (Norwegian)

luci-i18n-dockerman-pl - 25.326.24281~461e369 - Translation for luci-app-dockerman - Polski (Polish)

luci-i18n-dockerman-pt - 25.326.24281~461e369 - Translation for luci-app-dockerman - Português (Portuguese)

luci-i18n-dockerman-pt-br - 25.326.24281~461e369 - Translation for luci-app-dockerman - Português do Brasil (Brazilian Portuguese)

luci-i18n-dockerman-ro - 25.326.24281~461e369 - Translation for luci-app-dockerman - Română (Romanian)

luci-i18n-dockerman-ru - 25.326.24281~461e369 - Translation for luci-app-dockerman - Русский (Russian)

luci-i18n-dockerman-sk - 25.326.24281~461e369 - Translation for luci-app-dockerman - Slovenčina (Slovak)

luci-i18n-dockerman-sv - 25.326.24281~461e369 - Translation for luci-app-dockerman - Svenska (Swedish)

luci-i18n-dockerman-tr - 25.326.24281~461e369 - Translation for luci-app-dockerman - Türkçe (Turkish)

luci-i18n-dockerman-uk - 25.326.24281~461e369 - Translation for luci-app-dockerman - Українська (Ukrainian)

luci-i18n-dockerman-vi - 25.326.24281~461e369 - Translation for luci-app-dockerman - Tiếng Việt (Vietnamese)

luci-i18n-dockerman-yua - 25.326.24281~461e369 - Translation for luci-app-dockerman - Yucateco (Yucatec Maya)

luci-i18n-dockerman-zh-cn - 25.326.24281~461e369 - Translation for luci-app-dockerman - 简体中文 (Simplified Chinese)

luci-i18n-dockerman-zh-tw - 25.326.24281~461e369 - Translation for luci-app-dockerman - 正體中文 (Traditional Chinese)

luci-lib-docker - 25.326.24281~461e369 - Docker Engine API for LuCI

python3-docker - 7.0.0-r1 - A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps – run containers manage containers, manage Swarms, etc.

python3-docker-src - 7.0.0-r1 - A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps – run containers manage containers, manage Swarms, etc.  This package contains the Python source files for python3-docker.

python3-dockerpty - 0.4.1-r4 - Python library to use the pseudo-tty of a docker container

python3-dockerpty-src - 0.4.1-r4 - Python library to use the pseudo-tty of a docker container  This package contains the Python source files for python3-dockerpty.

root@R6SOpenWrt:~#

looks like that's working properly. What happens now when you try to install docker?

opkg update
opkg install docker

root@R6SOpenWrt:~# opkg install docker

Unknown package 'docker'.

Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency libc for docker

  • pkg_hash_fetch_best_installation_candidate: Packages for docker found, but incompatible with the architectures configured

  • opkg_install_cmd: Cannot install package docker.

Hi

This is bizszare as I dont think it's docker related. I have the standard OpenWrt Image installed from the firmware selector but it is saying now even from Luci that I have an issue with opkg install attendedsysupgrade-common

#### Executing package manager

opkg install attendedsysupgrade-common

Unknown package 'attendedsysupgrade-common'.

##### Errors

Collected errors: * pkg_hash_check_unresolved: cannot find dependency libc for libubox20240329 * pkg_hash_fetch_best_installation_candidate: Packages for libubox20240329 found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for libubus20250102 * pkg_hash_fetch_best_installation_candidate: Packages for libubus20250102 found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for libuci20250120 * pkg_hash_fetch_best_installation_candidate: Packages for libuci20250120 found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for libjson-c5 * pkg_hash_fetch_best_installation_candidate: Packages for libjson-c5 found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for libblobmsg-json20240329 * pkg_hash_fetch_best_installation_candidate: Packages for libblobmsg-json20240329 found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for rpcd * pkg_hash_fetch_best_installation_candidate: Packages for rpcd found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for rpcd-mod-rpcsys * pkg_hash_fetch_best_installation_candidate: Packages for rpcd-mod-rpcsys found, but incompatible with the architectures configured * pkg_hash_check_unresolved: cannot find dependency libc for attendedsysupgrade-common * pkg_hash_fetch_best_installation_candidate: Packages for attendedsysupgrade-common found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package attendedsysupgrade-common.

The *opkg install* command failed with code `255`.

Is there something really wrong with my install and I need to start again perhaps? Pretty sure the image was https://downloads.openwrt.org/releases/24.10.4/targets/rockchip/armv8/openwrt-24.10.4-rockchip-armv8-friendlyarm_nanopi-r6s-squashfs-sysupgrade.img.gz

You could use the firmware selector to try to build an image with docker pre-installed. I just tried it, though, and it seems that there might be something wrong (likely temporary) with the image builder in general (even without attempting to add docker).

But certainly, you could download and install the standard default image and then see if you can get it to install post-flash.