mirror of https://github.com/docker/docs.git
(refact) update docker init template name to reflect the cli
This commit is contained in:
parent
6c32e9888b
commit
09e83c62fe
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Containerize a .NET application
|
title: Containerize a .NET application
|
||||||
keywords: .net, containerize, initialize
|
keywords: .net, containerize, initialize
|
||||||
description: Learn how to containerize an ASP.NET application.
|
description: Learn how to containerize an ASP.NET application.
|
||||||
aliases:
|
aliases:
|
||||||
- /language/dotnet/build-images/
|
- /language/dotnet/build-images/
|
||||||
- /language/dotnet/run-containers/
|
- /language/dotnet/run-containers/
|
||||||
|
|
|
@ -19,7 +19,7 @@ long: |-
|
||||||
|
|
||||||
After running `docker init`, you can choose one of the following templates:
|
After running `docker init`, you can choose one of the following templates:
|
||||||
|
|
||||||
* ASP.NET: Suitable for an ASP.NET application.
|
* ASP.NET Core: Suitable for an ASP.NET Core application.
|
||||||
* Go: Suitable for a Go server application.
|
* Go: Suitable for a Go server application.
|
||||||
* Node: Suitable for a Node server application.
|
* Node: Suitable for a Node server application.
|
||||||
* Python: Suitable for a Python server application.
|
* Python: Suitable for a Python server application.
|
||||||
|
@ -70,7 +70,7 @@ examples: |-
|
||||||
|
|
||||||
? What application platform does your project use? [Use arrows to move, type to filter]
|
? What application platform does your project use? [Use arrows to move, type to filter]
|
||||||
> Go - (detected) suitable for a Go server application
|
> Go - (detected) suitable for a Go server application
|
||||||
ASP.NET - suitable for an ASP.NET application
|
ASP.NET Core - suitable for an ASP.NET Core application
|
||||||
Python - suitable for a Python server application
|
Python - suitable for a Python server application
|
||||||
Node - suitable for a Node server application
|
Node - suitable for a Node server application
|
||||||
Rust - suitable for a Rust server application
|
Rust - suitable for a Rust server application
|
||||||
|
@ -173,12 +173,12 @@ examples: |-
|
||||||
Your application will be available at http://localhost:8000
|
Your application will be available at http://localhost:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example of selecting ASP.NET
|
### Example of selecting ASP.NET Core
|
||||||
|
|
||||||
The following example shows the prompts that appear after selecting `ASP.NET` and example input. The ASP.NET template also creates a `README.Docker.md` file with additional information about building and deploying your application.
|
The following example shows the prompts that appear after selecting `ASP.NET Core` and example input. The ASP.NET Core template also creates a `README.Docker.md` file with additional information about building and deploying your application.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
? What application platform does your project use? ASP.NET
|
? What application platform does your project use? ASP.NET Core
|
||||||
? What's the name of your solution's main project? myapp
|
? What's the name of your solution's main project? myapp
|
||||||
? What version of .NET do you want to use? 6.0
|
? What version of .NET do you want to use? 6.0
|
||||||
? What local port do you want to use to access your server? 8000
|
? What local port do you want to use to access your server? 8000
|
||||||
|
|
Loading…
Reference in New Issue