Skip to content

Commit 7f7a2e1

Browse files
Update GettingStarted.md (#206)
* Update GettingStarted.md * Update docs/GettingStarted.md
1 parent a5a52cd commit 7f7a2e1

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

docs/GettingStarted.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# Getting Started
1+
# Get started
22

3-
To build a container from the SDK, add this package and run the `publish` command,
4-
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).
3+
Run the following commands to build a container from the SDK:
54

65
```shell
76
>dotnet add package Microsoft.NET.Build.Containers --prerelease
@@ -11,10 +10,19 @@ Pushed container '<your app name>:<your app version>' to registry 'docker://'
1110
...
1211
```
1312

14-
Out of the box, this package will infer a number of properties about the generated container image, including which base image to use, which version of that image to use, and where to push the generated image. You have control over all of these properties, however. You can read more about customizing the container [here](./ContainerCustomization.md)
13+
For more information, see [Publish Profiles](https://docs.microsoft.com/aspnet/core/host-and-deploy/visual-studio-publish-profiles?view=aspnetcore-6.0#publish-profiles).
14+
15+
The `Microsoft.NET.Build.Containers` package infers a number of properties about the generated container image:
16+
17+
* Which base image to use.
18+
* Which version of the base image to use.
19+
* Where to push the generated image.
20+
21+
<!--The `Microsoft.NET.Build.Containers` package provides full control over the preceding properties. -->
22+
For more information, see [Customizing a container](./ContainerCustomization.md)
1523

1624
> **Note**
1725
> This package only supports Linux containers in this version.
1826
1927
> **Note**
20-
> This package only supports Web projects (those that use the `Microsoft.NET.Sdk.Web` SDK) in this version.
28+
> This package only supports Web projects (those that use the `Microsoft.NET.Sdk.Web` SDK) in this version.

0 commit comments

Comments
 (0)