leftso 306 0 2019-05-15 09:50:58

文章位置:左搜> 编程技术> 正文

docker 镜像制作报错 [Warning] IPv4 forwarding is disabled. Networking will not work.错误解决

docker


在宿主机上面执行:
#echo net.ipv4.ip_forward=1 >> /usr/lib/sysctl.d/00-system.conf
重启network和docker服务
# systemctl restart network && systemctl restart docker
搞定.
编程技术 docker