5
docker 里跑 openwrt 遇到的奇奇怪怪问题修复
source link: https://www.dosk.win/2021/12/12/docker-li-pao-openwrt-yu-dao-de-qi-qi-guai-guai-wen-ti-xiu-fu/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
docker 里跑 openwrt 遇到的奇奇怪怪问题修复 — Dosk 技术站
wifi
无法上网/etc/sysctl.conf
添加net.ipv4.ip_forward = 1
,起因就是转发没启用
docker
容器无法联网/etc/sysctl.conf
添加如下几行,让网桥流量经过iptables
,可以用这个检测:docker run --rm busybox ping baidu.com
net.bridge.bridge-nf-call-ip6tables=1
net.bridge.bridge-nf-call-iptables=1
net.bridge.bridge-nf-call-arptables=1
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK