Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot push to Azure ACR #2840

Open
JWDobken opened this issue Feb 26, 2024 · 0 comments
Open

Cannot push to Azure ACR #2840

JWDobken opened this issue Feb 26, 2024 · 0 comments
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim

Comments

@JWDobken
Copy link

Description

I try to push to a private Azure Container Registry (ACR) with nerdctl version 1.7.3.

Steps to reproduce the issue

Login to the registry:

$ az acr login --name=myregistry --expose-token | jq -r '.accessToken' | nerdctl login -u 00000000-0000-0000-0000-000000000000 --password-stdin myregistry.azurecr.io`
WARNING: You can perform manual login using the provided access token below, for example: 'docker login loginServer -u 00000000-0000-0000-0000-000000000000 -p accessToken'
Login Succeeded

Push to the registry:

nerdctl push myregistry/container:0.0.1
INFO[0000] pushing as a reduced-platform image (application/vnd.docker.distribution.manifest.v2+json, sha256:38190fe0c442313dc80c9dc1a8d8dfed69211f628e384c29fe34a68cd5ca867b) 
manifest-sha256:38190fe0c442313dc80c9dc1a8d8dfed69211f628e384c29fe34a68cd5ca867b: waiting        |--------------------------------------| 
config-sha256:76d9cb3ecd175bfb0a67849dfd3f1e7482c4db9778d2c1b10dc8e5a41f081a6f:   waiting        |--------------------------------------| 
elapsed: 7.1 s                                                                    total:   0.0 B (0.0 B/s)                                         
FATA[0007] push access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed 
Error: exit status 1

Describe the results you received and expected

I expected a succesful image push

What version of nerdctl are you using?

nerdctl version 1.7.3

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

Rancher Desktop for macOS

Host information

Client:
Namespace: default
Debug Mode: false

Server:
Server Version: v1.7.2
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Log: fluentd journald json-file syslog
Storage: native overlayfs
Security Options:
seccomp
Profile: builtin
Kernel Version: 6.1.75-0-virt
Operating System: Alpine Linux v3.18
OSType: linux
Architecture: aarch64
CPUs: 8
Total Memory: 7.749GiB
Name: lima-rancher-desktop
ID: e0327975-ab65-4baa-87c6-fb5be4a7cbfa

@JWDobken JWDobken added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim
Projects
None yet
Development

No branches or pull requests

1 participant