Skip to content

podman on Mac M* was not recognized as DOCKER_HOST #102

Description

@ReimarBauer

I had an error message after I installed podman and wanted to use it with vp. I debugged this problem with claude.

The reason was it had not found the podman socket. I have added at the end of my .zshrc

# Point Docker API clients (incl. vibepod-cli) at the Podman machine socket
# (computed dynamically since the socket path depends on $TMPDIR at machine-start time)
if command -v podman >/dev/null 2>&1; then
    _podman_sock="$(podman machine inspect podman-machine-default --format '{{.ConnectionInfo.PodmanSocket.Path}}' 2>/dev/null)"
    if [ -n "$_podman_sock" ] && [ -S "$_podman_sock" ]; then
        export DOCKER_HOST="unix://${_podman_sock}"
    fi
    unset _podman_sock
fi

If there is a better solution let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions