Skip to content

cannot build images with base image from private repo #114

@acraciun

Description

@acraciun

When the FROM image is taken from a private repository we get this error message:
ERROR: Received unexpected HTTP status: 502 Connection refused

The reason seems to be the fact that you don't add the X-Registry-Config header. Instead you add X-Registry-Auth.
See the details for the request here:
https://docs.docker.com/engine/reference/api/docker_remote_api_v1.23/#build-image-from-a-dockerfile

Thanks for the fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions