How to install sshfs inside Openwrt X86-64 Docker Container?

Hi Guys:

I want to to run Openwrt as docker container on my Centos X86-64 host. The purpose is to perform our some Application tests more easily and efficiency.
I pulled the docker image openwrtorg/rootfs:x86-64 from https://hub.docker.com/r/openwrtorg/rootfs
Now, I want to install sshfs package on the Openwrt container using the bellow command.

root@OpenWrt:/tools/new_package# opkg install sshfs
Installing sshfs (2.10-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/x86_64/packages/sshfs_2.10-1_x86_64.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for sshfs:
 *      kernel (= 5.4.32-1-9100f2f85d030b2d75515447a431bff7)
 * opkg_install_cmd: Cannot install package sshfs.

Do you know what's the problem? and how to resolve it?
Thank you very much in advance!

Each package is a result of rolling updates that are inconsistent with the rootfs kernel version
Try this tag docker pull openwrtorg/rootfs:x86-64-19.07.2

https://openwrt.org/faq/cannot_satisfy_dependencies

@xiaobo thank you very much!
I pull the openwrtorg/rootfs:x86-64-19.07.2 and sshfs installed successfully.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.