podman: [macOS] Error: could not get runtime: dial unix /run/podman/io.podman: connect: no such file or directory

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

Steps to reproduce the issue:

  1. $ brew cask install podman

  2. $ podman pull ubuntu

Describe the results you received:

$ podman pull ubuntu
Error: could not get runtime: dial unix /run/podman/io.podman: connect: no such file or directory

Describe the results you expected: should not throw runtime error

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

Output of podman version:

$ podman version
Client:
Version:            1.6.1-dev
RemoteAPI Version:  1
Go Version:         go1.12.9
OS/Arch:            darwin/amd64

Service:
Error: could not get runtime: dial unix /run/podman/io.podman: connect: no such file or directory

Output of podman info --debug:

$ podman info --debug
Error: could not get runtime: dial unix /run/podman/io.podman: connect: no such file or directory

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

(paste your output here)

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

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 44 (18 by maintainers)

Commits related to this issue

Most upvoted comments

@rhatdan It would be really helpful if you share some kind of doc reference of what you suggest

I hate to say I came here with exact same problem after reading website and poking through the CLI for 15 minutes.

Can someone please update podman.io homepage to say:

Podman only works on Linux, however a remote Linux machine can be configured from macOS and Windows to use Podman on other platforms.

Considering the number of users encountering this cryptic error, I would reopen this issue and assure that when we fail with it, we also print a descriptive message, maybe one with a link to documentation page.

@jwhonce is preparing such a document now.

@jwhonce is preparing such a document now.

Please post the link if its partially done too (to at least get podman working 😃 )

Thanks.

For some people like me who couldn’t really understand why brew install podman didn’t work, the answer is, there should be linux virtual machine in order to run the podman. So, what the official documentation suggesting is for all MacOS and Windows users to spin up a linux virtual machine and connect your podman with that VM. That VM is acting as a backend server for your podman program.

For MacOS users can simply run these commands which install podman + virtual machine program(qemu) to spin up a linux VM.

  brew install podman 
  brew install qemu 
  podman machine init 
  podman machine start

Did you managed to get a signed podman, my testing of podman got stuck at #4511

Nope, still not properly signed…

FYI… In case you are using macOS Catalina https://developer.apple.com/news/?id=09032019a