Skip to content

Can't use local daemon for caching images #510

@emdagh

Description

@emdagh

I have a local image based on mcr.microsoft.com/dotnet/runtime:7.0-alpine that installs postgresql-client. Let's call that mcr.microsoft.com/dotnet/runtime:7.0-alpine-postgresql.

When I select that image as a base image for my .NET container I get:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).

This makes sense, only if the DOCKER_REGISTRY for pulling the images isn't set.

Changing the BaseImageName to contoso/runtime:7.0-alpine-postgresql verifies this, as it results in the following error:

System.Net.Http.HttpRequestException: No such host is known. (contoso:443)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: LibraryTasks and stories around the image and layer manipulation libraryArea: TaskPartner requestThings that internal or external teams have explicitly requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions