Skip to content

Commit 678787e

Browse files
committed
incorp feedback
1 parent e918003 commit 678787e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: docs/containers/container-launch-settings.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ The following table shows the properties that can be set in this section:
6868
| Property in Debug Profile UI | Setting name in launchSettings.json |Example|Description|
6969
| - | - | - | - |
7070
|Command line arguments| commandLineArgs | `"commandLineArgs": "--mysetting myvalue"` | These command-line arguments for starting your app are used when launching your project in the container. |
71-
|Container run arguments| containerRunArguments|`"containerRunArguments": "-l mylabel=value"`|Like `dockerfileRunArguments`, but for use with the .NET SDK container build type. |
72-
|N/A|DockerfileRunArguments|`dockerfileRunArguments": "-l mylabel=value"`|Additional arguments to pass to the [`docker run`](https://docs.docker.com/engine/reference/commandline/run/) command. <br><br/> This setting only applies to projects that use the Dockerfile container build type. <br/><br/> In Visual Studio 17.3 and later, you can use the following replacement tokens added:<br/><br/> - `{ProjectDir}` - Full path to the project directory. <br/><br/> - `{OutDir}` - The value of the MSBuild property OutDir.|
71+
|Container run arguments| containerRunArguments<br/>ContainerRunArguments|`"containerRunArguments": "-l mylabel=value"`|(Use the lowercase version in Visual Studio 17.12 and later. The uppercase version is provided for backward compatibility.) Additional arguments to pass to the [`docker run`](https://docs.docker.com/engine/reference/commandline/run/) command. <br><br/> This setting only applies to projects that use the Dockerfile container build type. <br/><br/> In Visual Studio 17.3 and later, you can use the following replacement tokens added:<br/><br/> - `{ProjectDir}` - Full path to the project directory. <br/><br/> - `{OutDir}` - The value of the MSBuild property OutDir. |
72+
|N/A|DockerfileRunArguments|`dockerfileRunArguments": "-l mylabel=value"`|Like `containerRunArguments`, but available for backward compatibility.|
7373
|Environment Variables| environmentVariables | `"environmentVariables":` {<br/> `"ASPNETCORE_URLS": "https://+:443;http://+:80"`, <br/> `"ASPNETCORE_HTTPS_PORT": "44381"` <br/> } | These environment variable values are passed to the process when it's launched in the container. |
74-
|Container Name| containerName | `mycontainer` | A name for the container matching the regular expression `[a-zA-Z0-9][a-zA-Z0-9_.-]`.|
75-
|Container environment files| containerRunEnvironmentFiles | `"containerRunEnvironmentFiles": "abc.env;xyz.env"` | A list of environment variable files (`.env` files) separated by semicolons. See [.env file syntax](https://docs.docker.com/compose/how-tos/environment-variables/variable-interpolation/#env-file-syntax). |
74+
|Container Name| containerName | `mycontainer` | (17.12 and later) A name for the container matching the regular expression `[a-zA-Z0-9][a-zA-Z0-9_.-]`.|
75+
|Container environment files| containerRunEnvironmentFiles | `"containerRunEnvironmentFiles": "abc.env;xyz.env"` | (17.12 and later) A list of environment variable files (`.env` files) separated by semicolons. See [.env file syntax](https://docs.docker.com/compose/how-tos/environment-variables/variable-interpolation/#env-file-syntax). |
7676
|Http Port| httpPort | `"httpPort": 24051` | This port on the host is mapped to the container's port 80 when launching the container. |
7777
|Launch Browser| launchBrowser | `"launchBrowser": true` | Indicates whether to launch the browser after successfully launching the project. |
7878
|N/A| launchBrowserTimeout | `"launchBrowserTimeout": 1` | The maximum amount of time (in seconds) to wait for the app to be ready before launching the browser (Docker Compose only). |

0 commit comments

Comments
 (0)