Giter Site home page Giter Site logo

openwrt-docker-mini's Introduction

GitHub Stars GitHub Forks Docker Stars Docker Pulls

Github: https://github.com/SuLingGG/OpenWrt-Docker-Mini

DockerHub: https://hub.docker.com/r/sulinggg/openwrt-mini

项目介绍

  • 本项目是 OpenWrt-Rpi-DockerOpenWrt-Mini 的姊妹项目。

  • 本项目基于 immortalwrt/immortalwrt openwrt-18.06-k5.4 分支,LuCI 版本为 LuCI 18.06。

  • 本项目提供纯净版的 Docker OpenWrt 镜像,并预配置自建软件源,使用者可以在 OpenWrt 中通过 opkg 命令安装需要的软件包。

支持设备及镜像版本

对于国内用户,为提高镜像拉取体验,可以考虑拉取存放于阿里云镜像仓库的镜像,镜像名称及标签如下表所示:

支持设备/平台 DockerHub 阿里云镜像仓库 (上海)
树莓派 2B sulinggg/openwrt-mini:rpi2 registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:rpi2
树莓派 3B / 3B+ sulinggg/openwrt-mini:rpi3 registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:rpi3
树莓派 4B sulinggg/openwrt-mini:rpi4 registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:rpi4
arm sulinggg/openwrt-mini:arm registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:arm
arm64 sulinggg/openwrt-mini:arm64 registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:arm64
x86_64 sulinggg/openwrt-mini:x86_64 registry.cn-shanghai.aliyuncs.com/suling/openwrt-mini:x86_64

注意事项

  • 本项目使用文档同 OpenWrt-Mini 项目的使用文档,在此不再赘述。

  • Docker 镜像中软件包的集成情况与 SuLingGG/OpenWrt-Mini 项目中相同。

  • 树莓派 2B 镜像同时适用于 2B/3B/3B+/4B 。

  • 若拉取镜像时不加任何标签,则将使用 latest 标签拉取镜像,latest 指向的镜像与树莓派 2B 镜像实际上为同一镜像。

  • 如果你拥有 arm 或 arm64 架构 CPU 的设备,可以直接拉取标签为 armarm64 的镜像使用。

  • 由于 Docker 容器与宿主机共享内核,所以 Docker 容器的内核特性与宿主机当前的内核特性相同。

  • 某些软件包可能依赖一些特定的内核特性,所以我不保证 opkg 软件源中的所有软件包都可以正常使用。且因为上文所述原因,在 OpenWrt 中安装 kmod 是无效的,请在宿主机中提前载入相应的内核模块,例如:

modprobe ip6_udp_tunnel
modprobe ip6table_nat
modprobe pppoe
modprobe tun
modprobe udp_tunnel
modprobe xt_TPROXY

使用指南

镜像详细使用方法请参考博客文章:

「在 Docker 中运行 OpenWrt 旁路网关」

https://mlapp.cn/376.html

鸣谢

P3TERX/Actions-OpenWrt (本项目基于此项目):

https://github.com/P3TERX/Actions-OpenWrt

OpenWrt Source Repository:

https://github.com/openwrt/openwrt/

Lean's OpenWrt source:

https://github.com/coolsnowwolf/lede

CTCGFW's Team:

https://github.com/project-openwrt

openwrt-docker-mini's People

Contributors

sulinggg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.