docker报错IPv4 forwarding is disabled

1、编辑 vi /etc/sysctl.conf

2、添加 net.ipv4.ip_forward=1

3、重启network服务 systemctl restart network

posted @ 2021-09-07 15:14  詹姆溪  阅读(53)  评论(0编辑  收藏  举报