软路由之openwrt安装ipk文件包(docker.ipk)

  • A+
所属分类:未分类

简单的介绍一下如何安装自己需要的ipk,这里以docker为例,

一;下载ipk上传到openwrt

自己有什么需求的ipk,自己去网上找,这里就不在阐述了,我的docker是下载好备份的

docker-ce_19.03.3-2_x86_64.ipk

luci-app-docker_1-7_all.ipk

luci-i18n-docker-zh-cn_1-7_all.ipk

下载好以后利用WinSCP工具把文件上传到你openwrt中的 “tmp"文件下

软路由之openwrt安装ipk文件包(docker.ipk)

软路由之openwrt安装ipk文件包(docker.ipk)

二:利用命令安装ipk

利用putty进入openwrt的ssh, 命令如下

cd /tmp

ls

软路由之openwrt安装ipk文件包(docker.ipk)

利用opkg install xxx.ipk安装我们上传到/TMP文件下的ipk

opkg install docker-ce_19.03.3-2_x86_64.ipk
opkg install  luci-app-docker_1-7_all.ipk 
opkg install luci-i18n-docker-zh-cn_1-7_all.ipk

ok

weinxin
我的QQ群
这是我的QQ群扫一扫

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:3   其中:访客  0   博主  0

    • 你我 你我 0

      按不上 报错

        • vjsun vjsun Admin

          @你我 报错的原因可能是缺少一些依赖环境,看缺少什么安装上什么就好了

        • pqkane pqkane 0

          Unknown package ‘docker-ce’.
          Collected errors:
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_core http://mirrors.ustc.edu.cn/lede/releases/18.06.4/targets/x86/64/packages). Skipping.
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_base http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/base). Skipping.
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_luci http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/luci). Skipping.
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_packages http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/packages). Skipping.
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_routing http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/routing). Skipping.
          * opkg_conf_parse_file: Duplicate src declaration (openwrt_telephony http://mirrors.ustc.edu.cn/lede/releases/18.06.4/packages/x86_64/telephony). Skipping.
          * pkg_hash_fetch_best_installation_candidate: Packages for docker-ce found, but incompatible with the architectures configured
          * opkg_install_cmd: Cannot install package docker-ce.
          还是错误