Skip to content

Commit a566b3d

Browse files
committed
fixes
1 parent 2f9fcce commit a566b3d

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

articles/virtual-network/deploy-container-networking-docker-windows.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ To assign multiple IP addresses to a Windows virtual machine, the IP addressees
189189
| Setting | Value |
190190
| ------- | ----- |
191191
| Select **Use the following IP address:** | |
192-
| IP address: | Enter **10.1.0.4**. |
192+
| IP address: | Enter **10.1.0.4** |
193193
| Subnet mask: | Enter **255.255.255.0** |
194194
| Default gateway | Enter **10.1.0.1** |
195195
| 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* |
197197

198198
:::image type="content" source="./media/deploy-container-networking-docker-windows/ip-address-configuration.png" alt-text="Screenshot of the primary IP configuration in Windows.":::
199199

@@ -208,8 +208,10 @@ To assign multiple IP addresses to a Windows virtual machine, the IP addressees
208208
| Setting | Value |
209209
| ------- | ----- |
210210
| **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.":::
213215

214216
14. Select **Add**.
215217

@@ -243,10 +245,11 @@ Sign-in to the virtual machine you created previously with the Azure Bastion hos
243245

244246
7. The following example installs **Docker CE/Moby**:
245247

246-
```powershell
247-
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
248-
.\install-docker-ce.ps1
249-
```
248+
```powershell
249+
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
250+
251+
.\install-docker-ce.ps1
252+
```
250253
251254
The virtual machine will reboot to install the container support in Windows. Reconnect to the virtual machine and the Docker install will continue.
252255
@@ -309,22 +312,22 @@ The script that creates the containers with the Azure CNI plugin requires the ap
309312
.\docker-exec.ps1 vnetdocker1 default mcr.microsoft.com/windows/servercore/iis add
310313
```
311314
312-
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.
313316
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:
315318
316319
```powershell
317320
docker exec -it vnetdocker1 powershell
318321
```
319322
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:
321324
322-
```bash
325+
```powershell
323326
ipconfig
324327
```
325328
:::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.":::
326329
327-
12. Exit the container and close the Bastion connection to **myVM**.
330+
4. Exit the container and close the Bastion connection to **myVM**.
328331
329332
## Clean up resources
330333
16.3 KB
Loading

0 commit comments

Comments
 (0)