Skip to content

Commit a0263ba

Browse files
committed
couple more
1 parent 35aa797 commit a0263ba

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
184 Bytes
Loading

docs/containers/view-and-diagnose-containers.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use the Visual Studio Containers window to view, debug, and interac
44
author: ghogen
55
ms.author: ghogen
66
ms.topic: how-to
7-
ms.date: 04/16/2025
7+
ms.date: 04/17/2025
88
ms.subservice: container-tools
99
monikerRange: ">=vs-2019"
1010

@@ -26,15 +26,17 @@ You can use the Visual Studio **Containers** window to see what's going on insid
2626
:::moniker range=">=vs-2022"
2727
- [Docker Desktop](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
2828
- [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) or [Visual Studio 2019 version 16.4](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) or later.
29-
- For the Docker Compose node: [Visual Studio 2022 version 17.7 or later](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta) and Docker v2. Docker v2 installs with Docker Desktop and is on by default.
29+
- For the Docker Compose node:
30+
- [Visual Studio 2022 version 17.7 or later](https://visualstudio.microsoft.com/downloads/?cid=learn-onpage-download-cta)
31+
- Docker v2, which installs with Docker Desktop and is on by default.
3032

3133
:::moniker-end
3234

3335
## View information about your containers
3436

3537
:::moniker range="vs-2019"
3638

37-
The **Containers** window opens automatically when you start a containerized .NET project. To open the **Containers** window any time, select **View** > **Other Windows** > **Containers** from the Visual Studio menu. You can also use **Ctrl**+**Q** to activate the Visual Studio Search box, type *Containers*, and choose the first item.
39+
The **Containers** window opens automatically when you start a containerized .NET project. To open the **Containers** window any time, select **View** > **Other Windows** > **Containers** from the Visual Studio menu. You can also use **Ctrl**+**Q** to open the Visual Studio Search box, type *Containers*, and select the **Containers** item.
3840

3941
![Screenshot of the Containers window in Visual Studio with a container selected in the left pane, and the Environment tab selected in the right pane.](media/view-and-diagnose-containers/container-window.png)
4042

@@ -43,7 +45,7 @@ The left side of the window shows the list of containers on your local machine.
4345
:::moniker-end
4446
:::moniker range="vs-2022"
4547

46-
The **Containers** window opens automatically when you start a containerized .NET project. To open the **Containers** window any time, select **View** > **Other Windows** > **Containers** from the Visual Studio menu, or press **Ctrl**+**K**, **Ctrl**+**O**.
48+
The **Containers** window opens automatically when you start a containerized .NET project. To open the **Containers** window any time, select **View** > **Other Windows** > **Containers** from the Visual Studio menu, or press **Ctrl**+**K**, **Ctrl**+**O**. You can also use **Ctrl**+**Q** to open the Visual Studio Search box, type *Containers*, and select the **Containers** item.
4749

4850
![Screenshot of the Containers window in Visual Studio with a container selected in the left pane, and the Environment tab selected in the right pane.](media/view-and-diagnose-containers/vs-2022/container-tools-window.png)
4951

@@ -60,7 +62,7 @@ If you're using Docker Compose and Visual Studio 2022 version 17.7 or later, you
6062
6163
### View environment variables
6264

63-
The **Environment** tab shows the environment variables in the container. You can set these variables in the Dockerfile, in an .env file, or by using the `-e` option when you start a container using a Docker command.
65+
The **Environment** tab shows the environment variables in the container. You can set these variables in the Dockerfile, in an *.env* file, or by using the `-e` option when you start a container using a Docker command.
6466

6567
> [!NOTE]
6668
> Changes to the environment variables aren't reflected in real time. Also, the environment variables in this tab are the system environment variables on the container, not the user environment variables local to the app.
@@ -89,7 +91,7 @@ The **Labels** tab shows the labels for the container. Labels are a way of setti
8991

9092
### View port mappings
9193

92-
On the **Ports** tab, you can check the port mappings for your container. Well-known ports are linked, so if there's content available on a port, you can select the link to open the browser.
94+
On the **Ports** tab, you can check the port mappings for your container. Well-known ports are linked, so you can select the link to open a browser to the host port address.
9395

9496
:::moniker range="vs-2019"
9597
![Screenshot of Ports tab in Containers window.](media/view-and-diagnose-containers/containers-ports.png)

0 commit comments

Comments
 (0)