Podman on mac error : connect: no such file or directory

Viewed 2442

Installed Podman for mac with brew

brew install podman

It's installed successfully, but then if you try to use it with something like

podman images

I get the following error

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

Cannot seem to find a solution in documentation, has anyone had the same issue and any solution?

2 Answers

You first need to run:

podman machine init
podman machine start

In the Firewall pane of Security & Privacy preferences

  • Allow "podman-remote" to accept incoming network connections, generally located /usr/local/bin/podman-remote
  • Allow "gvproxy" to accept incoming network connections, generally located at /usr/local/Cellar/podman/$PODMAN_VERSION/libexec/gvproxy
Related