Skip to content

Unable to login on AWS registry when using containerd #171

@ViBiOh

Description

@ViBiOh

First of all, thank you for bringing alternative to Docker Desktop 😌 It works like a charm =)

But, I have a problem :p

When using colima with containerd runtime, I cannot login to the AWS registry using the nerdctl login (that I have aliased to docker command). Regular login to the "Official" Docker registry works fine.

The issue seems discuss and resolved on nerdctl. So is it about a dependencies update or I miss something?

I've tried running lima directly with nerdctl and it works (I guess the ubuntu image for containerd is more stuffed than the alpine used by colima).

> colima start --runtime=containerd
> colima nerdctl install --path "${HOME}/opt/bin/docker"
> aws --profile "shared-services-aws" ecr get-login-password --region "${AWS_REGION}" | docker login --username "AWS" --password-stdin "${AWS_SHARED_SERVICES_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com"

time="2022-02-09T08:30:34Z" level=error msg="failed to call tryLoginWithRegHost" error="unexpected status code 404" i=0
time="2022-02-09T08:30:34Z" level=fatal msg="unexpected status code 404"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions