【问题标题】:Podman on mac error : connect: no such file or directoryMac上的Podman错误:连接:没有这样的文件或目录
【发布时间】:2021-04-16 01:45:58
【问题描述】:

使用 brew 为 mac 安装 Podman

brew install podman

它已成功安装,但是如果您尝试将其与类似的东西一起使用

podman images

我收到以下错误

Error: Get "http://d/v2.0.0/libpod/_ping": dial unix ///var/folders/x2/j64rkhwn7gvghnmcz2h_nh080000gn/T/podman-run--1/podman/podman.sock: connect: no such file or directory

似乎在文档中找不到解决方案,有没有人遇到过同样的问题和解决方案?

【问题讨论】:

    标签: podman


    【解决方案1】:

    你首先需要运行:

    podman machine init
    podman machine start
    

    【讨论】:

    • 这对我有用。这应该是公认的答案吗?
    【解决方案2】:

    在安全和隐私首选项的防火墙窗格中

    • 允许“podman-remote”接受传入的网络连接,一般位于/usr/local/bin/podman-remote
    • 允许“gvproxy”接受传入的网络连接,通常位于 /usr/local/Cellar/podman/$PODMAN_VERSION/libexec/gvproxy

    【讨论】:

      猜你喜欢
      • 2020-09-12
      • 2021-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-06-24
      • 2017-04-15
      • 2021-10-31
      相关资源
      最近更新 更多