You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a Mac M1 laptop with Podman (running through Podman Machine), crane auth get <registry> fails with credentials not found in native keychain even if podman itself is successfully logged into the same registry.
Credentials are correctly stored in $HOME/.config/containers/auth.json
To Reproduce
Login with podman to the target registry: podman login <registry>
Try to retrieve credentials for the same registry with crane: crane auth get <registry>
Expected behavior
Crane should return the expected output for crane auth get: a JSON containing the credentials, like:
{"Username":"kostola","Secret":"<redacted>"}
Additional context
Output of crane version: 0.19.1
Registry used: docker.io, ghcr.io, quay.io
The text was updated successfully, but these errors were encountered:
--authfile=path
Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json on Linux, and $HOME/.config/containers/auth.json on Windows/macOS.
It seems like option 4 should consider the host OS.
Describe the bug
On a Mac M1 laptop with Podman (running through Podman Machine),
crane auth get <registry>
fails withcredentials not found in native keychain
even if podman itself is successfully logged into the same registry.Credentials are correctly stored in
$HOME/.config/containers/auth.json
To Reproduce
podman login <registry>
crane auth get <registry>
Expected behavior
Crane should return the expected output for
crane auth get
: a JSON containing the credentials, like:Additional context
crane version
:0.19.1
docker.io
,ghcr.io
,quay.io
The text was updated successfully, but these errors were encountered: