docker啟動(dòng)報(bào)錯(cuò):WARNING: IPv4 forwarding is disabled. Networking will not work.
需要做如下配置
vi /usr/lib/sysctl.d/00-system.conf
添加如下代碼:
net.ipv4.ip_forward=1
重啟network服務(wù)
systemctl restart network
原文鏈接:https://blog.csdn.net/w719566673/article/details/83182759