You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/deploy-container-networking-docker-windows.md
+16-13Lines changed: 16 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -189,11 +189,11 @@ To assign multiple IP addresses to a Windows virtual machine, the IP addressees
189
189
| Setting | Value |
190
190
| ------- | ----- |
191
191
| Select **Use the following IP address:**||
192
-
| IP address: | Enter **10.1.0.4**.|
192
+
| IP address: | Enter **10.1.0.4**|
193
193
| Subnet mask: | Enter **255.255.255.0**|
194
194
| Default gateway | Enter **10.1.0.1**|
195
195
| Select **Use the following DNS server addresses:**||
196
-
| Preferred DNS server: | Enter **168.63.129.16**.*This IP is the DHCP assigned IP address for the default Azure DNS*|
196
+
| Preferred DNS server: | Enter **168.63.129.16***This IP is the DHCP assigned IP address for the default Azure DNS*|
197
197
198
198
:::image type="content" source="./media/deploy-container-networking-docker-windows/ip-address-configuration.png" alt-text="Screenshot of the primary IP configuration in Windows.":::
199
199
@@ -208,8 +208,10 @@ To assign multiple IP addresses to a Windows virtual machine, the IP addressees
208
208
| Setting | Value |
209
209
| ------- | ----- |
210
210
|**TCP/IP Address**||
211
-
| IP address: | Enter **10.1.0.5**. |
212
-
| Subnet mask: | Enter **255.255.255.0**. |
211
+
| IP address: | Enter **10.1.0.5**|
212
+
| Subnet mask: | Enter **255.255.255.0**|
213
+
214
+
:::image type="content" source="./media/deploy-container-networking-docker-windows/secondary-ip-address.png" alt-text="Screenshot of the secondary IP configuration addition.":::
213
215
214
216
14. Select **Add**.
215
217
@@ -243,10 +245,11 @@ Sign-in to the virtual machine you created previously with the Azure Bastion hos
243
245
244
246
7. The following example installs **Docker CE/Moby**:
It can take a few minutes for the image for the container to download for the first time. When the container starts and initializes the network, the Bastion connection will disconnect. Wait a few seconds and the connection will reestablish.
315
+
It can take a few minutes for the image for the container to download for the first time. When the container starts and initializes the network, the Bastion connection will disconnect. Wait a few seconds and the connection will reestablish.
313
316
314
-
10. To verify that the container received the IP address you previously configured, connect to the container and view the IP:
317
+
2. To verify that the container received the IP address you previously configured, connect to the container and view the IP:
315
318
316
319
```powershell
317
320
docker exec -it vnetdocker1 powershell
318
321
```
319
322
320
-
11. Use the **`ipconfig`** command in the following example to verify the IP address was assigned to the container:
323
+
3. Use the **`ipconfig`** command in the following example to verify the IP address was assigned to the container:
321
324
322
-
```bash
325
+
```powershell
323
326
ipconfig
324
327
```
325
328
:::image type="content" source="./media/deploy-container-networking-docker-windows/ipconfig-output.png" alt-text="Screenshot of ipconfig output in PowerShell prompt of test container.":::
326
329
327
-
12. Exit the container and close the Bastion connection to **myVM**.
330
+
4. Exit the container and close the Bastion connection to **myVM**.
0 commit comments