当前位置: 代码迷 >> 综合 >> 网络报错提示:[Warning] IPv4 forwarding is disabled. Networking will not work.
  详细解决方案

网络报错提示:[Warning] IPv4 forwarding is disabled. Networking will not work.

热度:94   发布时间:2024-02-26 11:30:32.0

问题描述:

[Warning] IPv4 forwarding is disabled. Networking will not work.

解决方法:

vim /etc/sysctl.conf   ##添加路由转发功能
net.ipv4.ip_forward=1sysctl -p
service network restart
systemctl restart docker
  相关解决方案