generated from dotnet/new-repo
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
Area: LibraryTasks and stories around the image and layer manipulation libraryTasks and stories around the image and layer manipulation libraryArea: TaskPartner requestThings that internal or external teams have explicitly requestedThings that internal or external teams have explicitly requested
Description
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
Labels
Area: LibraryTasks and stories around the image and layer manipulation libraryTasks and stories around the image and layer manipulation libraryArea: TaskPartner requestThings that internal or external teams have explicitly requestedThings that internal or external teams have explicitly requested