Skip to content

AWS Docker Autoscaler: error pulling docker image #1199

@vpotap

Description

@vpotap

I'm experiencing an issue with the GitLab Runner using image al2023-ami-ecs-hvm-2023.0.20241010-kernel-6.1-x86_64 when trying to use the "docker-autoscaler" on AWS. Below are the details :

00:22
Preparing the "docker-autoscaler" executor
Dialing instance i-1234567890abcdef0...
Instance i-1234567890abcdef0 connected
Using Docker executor with image alpine:latest ...
Pulling docker image alpine:latest ...
WARNING: Failed to pull image with policy "always": Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) (manager.go:237:15s)
ERROR: Job failed: failed to pull image "alpine:latest" with specified policies [always]: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) (manager.go:237:15s)

Running from runner instance curl https://registry-1.docker.io/v2/ returns:
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

Running from runner instance command docker pull alpine:latest works correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssue/PR is stale and closed automatically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions