pirates
V2EX  ›  问与答

Nginx 错误 "connect() to unix:/tmp/uwsgi.sock failed (111: Connection refused)"

  •  
  •   pirates · Aug 3, 2017 · 5658 views
    This topic created in 3211 days ago, the information mentioned may be changed or developed.
    • Nginx 容器与 macOS 主机上的 uWSGI 通过 unix 套接字进行通讯
    • 已将 uWSGI 使用的 unix 套接字文件挂载到 Nginx 容器中,套接字文件的权限没问题。 步骤一样,Ubuntu 主机上却不会出现该问题
    4 replies    2017-08-04 14:40:48 +08:00
    pirates
        1
    pirates  
    OP
       Aug 3, 2017
    发现 docker for mac 暂时不支持 unix socket 共享
    jarlyyn
        2
    jarlyyn  
       Aug 3, 2017 via Android
    Mac 的 docker 不是虚拟机么
    wellsc
        3
    wellsc  
       Aug 3, 2017
    @jarlyyn 新版本不是
    jarlyyn
        4
    jarlyyn  
       Aug 4, 2017
    @wellsc

    https://www.docker.com/docker-mac#/availability

    Fast and reliable performance with native macOS virtualization running a custom minimal Linux distro.

    我找错链接了么?

    docker 本身不就是基于 linux 内核的 namespace 功能么……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   971 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 20:01 · PVG 04:01 · LAX 13:01 · JFK 16:01
    ♥ Do have faith in what you're doing.