美文网首页
Docker WARNING: IPv4 forwarding

Docker WARNING: IPv4 forwarding

作者: 七秒钟回忆待续 | 来源:发表于2019-12-08 12:28 被阅读0次

    安装了 Docker-Compose(sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose)之后,准备启动服务(docker-compose up)
    发现警告:

    WARNING: IPv4 forwarding is disabled. Networking will not work.

    操作系统:CentOS 7
    Docker Client Server 版本均为:1.13.1

    好吧,只是简单记录一下,解决办法为:

    /sbin/sysctl -w net.ipv4.conf.all.forwarding=1

    解决办法源于官方文章:
    https://success.docker.com/article/ipv4-forwarding

    相关文章

      网友评论

          本文标题:Docker WARNING: IPv4 forwarding

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