-
| 问题描述错误内容:2024/02/07 11:21:56 [INFO] config/config.go:22 nginx conf path: /etc/nginx/sites-enabled stream: false 版本号4.3.2 复现方法安装即可发现 期望的结果可正常启动 | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            dong4j
          
      
      
        Feb 15, 2024 
      
    
    Replies: 2 comments
-
| 编辑寄主机的 /etc/resolv.conf, 删除 ipv6 的 nameserver | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        Lorna0
-
| 
 正解。 docker 在创建虚拟网络时,会在操作系统上注册 IPv6 的解析地址,因为不知名原因,docker 会把 /etc/resolv.conf 改错,导致 IPv6 解析失败。这时候手动把系统配置文件中的错误内容删掉,就可以正常使用了 | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
编辑寄主机的 /etc/resolv.conf, 删除 ipv6 的 nameserver