Skip to content

Commit 079a52a

Browse files
authored
Merge pull request #296 from dotnet/v0.3.0-docs
2 parents 6715978 + a1f09d5 commit 079a52a

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

docs/RegistryAuthentication.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,20 @@ The following registries have been explicitly tested:
3434
* GitLab Container Registry
3535
* Google Cloud Artifact Registry
3636
* Quay.io
37+
* AWS Elastic Container Registry
38+
* GitHub Package Registry
39+
* Docker Hub*
3740

3841
## Known-unsupported registries
3942

40-
* Docker Hub
41-
* needs changes to the code to differentiate between pushing to a local daemon and the remote hub
42-
* AWS Elastic Container Registry
43-
* blob upload is canceled by ECR, unknown reason
44-
* GitHub Package Registry
45-
* blob upload is canceled by the registry, unknown reason
43+
None! We're compatible with most registries.
4644

4745
## Notes for specific registries
4846

4947
### Azure Container Registry
5048

5149
When authenticating to an Azure Container Registry, at this moment only authentication with an admin username and password is supported. This is the same as running `az acr login -n <registry> -u <username> -p <password>`. Token-based login, like `az acr login -n <registry>` is not supported yet.
50+
51+
### Docker Hub
52+
53+
When using Docker Hub as a base image registry (via ContainerBaseImage) or as the destination registry for pushing your images, you must use the `registry-1.docker.io` domain name instead of `docker.io`. The `docker.io` domain does not respond to the Registry API in the expected way.

docs/ReleaseNotes/v0.3.0.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Microsoft.NET.Build.Containers v0.3.0
2+
3+
This is the third public release of the .NET SDK containerization feature. This version brings support for
4+
5+
* [Supplying more than one container tag via the ContainerTags property](https://github.com/dotnet/sdk-container-builds/pull/239)
6+
* More resilient pushes thanks to [retry support](https://github.com/dotnet/sdk-container-builds/pull/256) and [request chunking](https://github.com/dotnet/sdk-container-builds/pull/258)
7+
* [Authentication to Amazon Elastic Container Service Registries](https://github.com/dotnet/sdk-container-builds/pull/279)
8+
* [Authentication to registries whose authentication servers are on different domains](https://github.com/dotnet/sdk-container-builds/pull/286)
9+
* [Authentication to Google Cloud Artifact Registry and Container Registry](https://github.com/dotnet/sdk-container-builds/pull/287)
10+
* [Support for more RIDs than just `linux-x64`](https://github.com/dotnet/sdk-container-builds/pull/247)
11+
* Enhanced support for rootless containers
12+
13+
To start containerizing your projects, see our [Getting Started](http://github.com/dotnet/sdk-container-builds/blob/main/docs/GettingStarted.md) docs.

packaging/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ This package lets you build container images from your projects with a single co
55
## Getting Started
66

77
To build a container from the SDK, add this package and run the `publish` command,
8-
specifying the `DefaultContainer` PublishProfile. You can learn more about Publish Profiles [in the documentation](https://docs.microsoft.com/aspnet/core/host-and-deploy/visual-studio-publish-profiles?view=aspnetcore-6.0#publish-profiles).
8+
specifying the `DefaultContainer` PublishProfile. You can learn more about Publish Profiles [in the documentation](https://learn.microsoft.com/aspnet/core/host-and-deploy/visual-studio-publish-profiles?view=aspnetcore-6.0#publish-profiles).
99

1010
```shell
11-
>dotnet add package Microsoft.NET.Build.Containers --prerelease
11+
>dotnet add package Microsoft.NET.Build.Containers
1212
>dotnet publish --os linux --arch x64 -p:PublishProfile=DefaultContainer
1313
...
1414
Pushed container '<your app name>:<your app version>' to registry 'docker://'

0 commit comments

Comments
 (0)