podman: "podman info" fails on MacOS

/kind bug

Description

Fresh upgrade of podman on MacOS via Homebrew fails to execute

Steps to reproduce the issue:

  1. brew install podman (or brew upgrade podman if already installed via brew)

  2. type podman info

Describe the results you received:

$ podman info
Error: cannot connect to the Podman socket, please verify that Podman REST API service is running: Get "http://d/v3.2.2/libpod/_ping": dial unix ///var/folders/s2/5qv42zmn6678nhr8sgd2njj00000gn/T/podman-run--1/podman/podman.sock: connect: no such file or directory

Describe the results you expected: Output of info about podman system. Also, this is same result for other basic operations of podman.

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

$ podman version
Error: cannot connect to the Podman socket, please verify that Podman REST API service is running: Get "http://d/v3.2.2/libpod/_ping": dial unix ///var/folders/s2/5qv42zmn6678nhr8sgd2njj00000gn/T/podman-run--1/podman/podman.sock: connect: no such file or directory

Output of podman info --debug:

(fails also)

Package info (e.g. output of rpm -q podman or apt list podman):

$ brew upgrade podman
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 10 formulae.
==> Updated Casks
Updated 1 cask.

Warning: podman 3.2.2 already installed

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)

Yes

Additional environment details (AWS, VirtualBox, physical, etc.):

$ sw_vers
ProductName:	macOS
ProductVersion:	11.3.1
BuildVersion:	20E241

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

okay, so brew install podman && brew install qemu && podman machine init && podman machine start then podman info and, I suspect, all things podman, work on MacOS now for me. ty!

❯ podman machine start Error: due to missing upstream patches, Apple Silicon is not capable of running Podman machine yet is someone having this

I would assume everyone who is running Apple Silicon.