early-lunch-37616
12/05/2022, 5:45 PMnerdctl
. Anyone have any ideas? https://rancher-users.slack.com/archives/C0200L1N1MM/p1669834094085999rapid-eye-50641
12/05/2022, 5:55 PMgcloud
based approach.. May be you can give it a try yourself and let us know if it works please?early-lunch-37616
12/05/2022, 5:56 PMecho "<https://gcr.io>" | docker-credential-gcr get
is returning the credentialsrapid-eye-50641
12/06/2022, 12:59 AMnerdctl
. The issue has already been resolved in the work in progress version for the upcoming release this month. Btn, the gcloud
approach still seems to be having problems.. Here are the steps that worked for me in the dev version..
• Download and copy the docker-credential-gcr to a folder on your PATH
• Copy your credentials file to %APPDATA%/gcloud/application_default_credentials.json
if Windows, or to $HOME/.config/gcloud/application_default_credentials.json
on other OSs
• Run docker-credential-gcr config --token-source "env,store"
• Run docker-credential-gcr configure-docker
• Try pull
, push
commands as usual. For example,
◦ nerdctl pull hello-world
◦ nerdctl tag hello-world <http://LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/hello-world:rdtest|LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/hello-world:rdtest>
◦ nerdctl push <http://LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/hello-world:rdtest|LOCATION-docker.pkg.dev/PROJECT-ID/REPOSITORY/hello-world:rdtest>
early-lunch-37616
12/06/2022, 3:31 PMThe issue has already been resolved in the work in progress version for the upcoming release this month.How should I download/install this dev version?
rapid-eye-50641
12/06/2022, 3:33 PMearly-lunch-37616
12/06/2022, 3:33 PMrapid-eye-50641
12/06/2022, 3:36 PMearly-lunch-37616
12/06/2022, 4:29 PMCopy your credentials file toIn this step, which credentials file are you referring to?%APPDATA%/gcloud/application_default_credentials.json
rapid-eye-50641
12/06/2022, 4:37 PM{
"type": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"project_id": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"private_key_id": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"private_key": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"client_email": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"client_id": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"auth_uri": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"token_uri": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"auth_provider_x509_cert_url": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
"client_x509_cert_url": "xxxxxxxxxxxxxxxxxxxxxxxxxx"
}
early-lunch-37616
12/06/2022, 5:09 PMerdctl pull docker.pkg.dev/activated-manage/ai/eve:base-v10
INFO[0000] trying next host error="failed to do request: Head \"<https://docker.pkg.dev/v2/activated-manage/ai/eve/manifests/base-v10>\": proxyconnect tcp: dial tcp 127.0.0.1:3128: connect: connection refused" host=docker.pkg.dev
ERRO[0000] server "docker.pkg.dev" does not seem to support HTTPS error="failed to resolve reference \"docker.pkg.dev/activated-manage/ai/eve:base-v10\": failed to do request: Head \"<https://docker.pkg.dev/v2/activated-manage/ai/eve/manifests/base-v10>\": proxyconnect tcp: dial tcp 127.0.0.1:3128: connect: connection refused"
INFO[0000] Hint: you may want to try --insecure-registry to allow plain HTTP (if you are in a trusted network)
FATA[0000] failed to resolve reference "docker.pkg.dev/activated-manage/ai/eve:base-v10": failed to do request: Head "<https://docker.pkg.dev/v2/activated-manage/ai/eve/manifests/base-v10>": proxyconnect tcp: dial tcp 127.0.0.1:3128: connect: connection refused
Error: exit status 1
Error: spawn docker-credential-gcloud ENOENT
rapid-eye-50641
12/06/2022, 10:43 PMgcloud
for credentials.{
"auths": {},
"credsStore": "wincred",
"credHelpers": {
"us-central1-docker.pkg.dev": "gcr"
}
}
early-lunch-37616
12/06/2022, 11:27 PM{
"auths": {},
"credsStore": "desktop",
"credHelpers": {
"us-central1-docker.pkg.dev": "gcr"
}
}
error: failed to solve: error getting credentials - err: exit status 22, out: `Error: spawn docker-credential-gcr ENOENT`
rapid-eye-50641
12/07/2022, 6:21 PMfuture-night-11133
01/04/2023, 12:20 PM