Skip to content

Macos - building with podman instructions #809

Open
@pacostas

Description

@pacostas

Summary

Following the instructions of building an image with podman in macos, on the connection section https://buildpacks.io/docs/for-app-developers/how-to/special-cases/build-on-podman/#connection when I try to execute below command

ssh-add -k "$HOME/.ssh/podman-machine-default"

I get below error:

/Users/costas/.ssh/podman-machine-default: No such file or directory

Possible solutions

Execute below command

podman system connection list --format="{{.URI}} {{.Identity}}" | grep root

and fetch the location of the ssh file, indicated by the Identity column.

Then use ssh-add to add the key on the ssh client with below command

ssh-add -k "<location of the file indicated by the Identity column"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions