美文网首页
docker启动报错WARNING: IPv4 forwardi

docker启动报错WARNING: IPv4 forwardi

作者: hewolf | 来源:发表于2021-08-07 18:27 被阅读0次

    docker启动报错:WARNING: IPv4 forwarding is disabled. Networking will not work.

    需要做如下配置

    vi /usr/lib/sysctl.d/00-system.conf
    添加如下代码:
    
    net.ipv4.ip_forward=1
    
    重启network服务
    systemctl restart network
    

    原文链接:https://blog.csdn.net/w719566673/article/details/83182759

    相关文章

      网友评论

          本文标题:docker启动报错WARNING: IPv4 forwardi

          本文链接:https://www.haomeiwen.com/subject/xnsgvltx.html