News for hackers. Stuff that matters.
Re:How to Replace Docker with Podman on a Mac by mroche on Wednesday September 08, 2021 @08:46PM (#28464897)
IIRC the podman socket is a planned thing for macOS as it'll be necessary for certain features that rely on the docker socket and don't use SSH, such as VSCode's Remote Containers extension.

However you can create an SSH tunnel to create the socket locally to allow non-podman clients to utilize the socket over SSH with the DOCKER_HOST environment variable.

  # Get URI
  > podman system connection ls

  # Create tunnel
  > ssh -nNT -L/tmp/podman.sock:/run/user/1000/podman/podman.sock -i ~/.ssh/podman-machine-default ssh://core@localhost:[PORT]

  # Export socket location
  > export DOCKER_HOST='/tmp/podman.sock'

https://github.com/containers/podman/issues/11462

https://github.com/containers/podman/issues/11397

Re:How to Replace Docker with Podman on a Mac by conanoc on Wednesday September 15, 2021 @12:12AM (#28535201)
Socket location is wrong. Use this: export DOCKER_HOST='unix:///tmp/podman.sock'