Overview
- Full name
docker.io/kangkang223/openwrt- Registry
- docker.io
- Namespace
- kangkang223
- Repository
- openwrt
- Cached tags
- 1
- Last synced
- 07/06/2026, 07:16 AM
Introduction
OpenWrt 软路由容器镜像,模拟网关 NAT/DHCP 功能,需 --privileged 与 host 网络,仅适合实验环境。
Details
kangkang223/openwrt 运行 OpenWrt 作为容器化软路由,需 --privileged、--net=host 操作网络栈。定位为特权网络设备容器,安全风险高,非 K8s 常规 Deployment;实验 docker 或独立 VM 部署。
快速启动
docker run -d --name openwrt \
--privileged \
--network host \
docker.io/kangkang223/openwrt:latest
推荐实践
docker run -d --name openwrt \
--privileged \
--network host \
--restart unless-stopped \
-v /data/openwrt:/etc/config \
docker.io/kangkang223/openwrt:23.05
核心参数说明
--privileged— 网络与 iptables 必需(高敏)--network host— 直接绑定主机网卡-v .../config:...— UCI 配置持久化- 勿 — 生产 K8s 或公网暴露
Latest tags (20)
View all 1 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/kangkang223/openwrt :z4 | linux/amd64 | 2022/05/15 16:11 | 75.4 MB | sha256:85ed06522820… |