-
Couldn't load subscription status.
- Fork 6.1k
Description
The value for <ContainerImageName> seems to accept forward slashes in the name. Which it should.
However, the doc says:
"Image names can only contain lowercase alphanumeric characters, periods, underscores, and dashes, and must start with a letter or number. Any other characters will result in an error being thrown."
(in the section about ContainerImageName)
The following works for me:
<ContainerImageName>foo/bar</ContainerImageName>but according to the documentation should not be possible. I think the documentation is incorrect. From a Docker perspective it is correct that the / character is allowed.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 19c28091-b3ad-affb-6343-47d7fa066d55
- Version Independent ID: 401bc84b-9410-3583-91f6-88968654b588
- Content: Containerize an app with dotnet publish - .NET
- Content Source: docs/core/docker/publish-as-container.md
- Product: dotnet-fundamentals
- Technology: dotnet-docker
- GitHub Login: @IEvangelist
- Microsoft Alias: dapine