【docker】 WARNING: IPv4 forwarding is disabled. Networking will not work.

# vim  /usr/lib/sysctl.d/00-system.conf
添加:

net.ipv4.ip_forward=1
# systemctl restart network

 

重新实例错误容器

 

posted @ 2019-03-20 21:00  NHZ-M  阅读(140)  评论(0编辑  收藏  举报