pirates
V2EX  ›  问与答

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

  •  
  •   pirates · Aug 3, 2017 · 6061 views
    This topic created in 3405 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
    pirates
    OP
    Aug 3, 2017
    1
    发现 docker for mac 暂时不支持 unix socket 共享
    jarlyyn
    jarlyyn
    Aug 3, 2017 via Android
    2
    Mac 的 docker 不是虚拟机么
    wellsc
    wellsc
    Aug 3, 2017
    3
    @jarlyyn 新版本不是
    jarlyyn
    jarlyyn
    Aug 4, 2017
    4
    @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   ·   Privacy   ·   Solana   ·   905 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:35 · PVG 06:35 · LAX 14:35 · JFK 17:35
    ♥ Do have faith in what you're doing.