About 2+ hours after I posted above, I cannot run any podman command any more:
$ podman ps
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49410->127.0.0.1:62451: read: connection reset by peer
$ podman info
OS: darwin/arm64
provider: qemu
version: 4.8.2
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: failed to connect: ssh: handshake failed: read tcp 127.0.0.1:49415->127.0.0.1:62451: read: connection reset by peer
This is not the first time I'm experiencing it. I got podman setup last night but this morning I got Cannot connect to Podman so I followed the advice and started from podman machine init again this morning.
Things are working fine, until I access podman again about 2 hours later. During this 2 hours, I didn't force the machine into sleep myself, at most just let it idle there.
Originally posted by @AntonioSun in https://github.com/containers/podman/issues/21196#issuecomment-1881515392
About 2+ hours after I posted above, I cannot run any podman command any more:
This is not the first time I'm experiencing it. I got podman setup last night but this morning I got
Cannot connect to Podman
so I followed the advice and started frompodman machine init
again this morning.Things are working fine, until I access podman again about 2 hours later. During this 2 hours, I didn't force the machine into sleep myself, at most just let it idle there.