标签:disabled vim rom harbor digest lin ges conf ebe
[root@localhost harbor]# ./prepare prepare base dir is set to /usr/local/src/harbor Unable to find image ‘goharbor/prepare:v1.8.1‘ locally v1.8.1: Pulling from goharbor/prepare 98567ebe879d: Pull complete d642a782e293: Pull complete cf233c8d5a07: Pull complete dfc5ad175a50: Pull complete bc51f9ffb51a: Pull complete 2498a6ce9a1a: Pull complete 93be64bef785: Pull complete Digest: sha256:49542e66f4969f23ef7e1c65119f7e5338da0ba5b9c56e6d1e0ff58d3bb8664f Status: Downloaded newer image for goharbor/prepare:v1.8.1 WARNING: IPv4 forwarding is disabled. Networking will not work. Clearing the configuration file: /config/log/logrotate.conf Clearing the configuration file: /config/nginx/nginx.conf Clearing the configuration file: /config/core/env
解决方法:
解决办法: # vim /usr/lib/sysctl.d/00-system.conf 添加如下代码: net.ipv4.ip_forward=1 重启network服务 # systemctl restart network
Docker报错 WARNING: IPv4 forwarding is disabled. Networking will not work.
标签:disabled vim rom harbor digest lin ges conf ebe
原文地址:https://www.cnblogs.com/sheng-247/p/11346887.html