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-linux.md
+151-7Lines changed: 151 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: asudbring
6
6
ms.author: allensu
7
7
ms.service: azure-virtual-network
8
8
ms.topic: how-to
9
-
ms.date: 08/28/2023
9
+
ms.date: 02/23/2026
10
10
ms.custom:
11
11
- template-how-to
12
12
- linux-related-content
@@ -22,11 +22,143 @@ The Azure CNI plugin enables per container/pod networking for stand-alone docker
22
22
23
23
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
1. In the portal, search for and select **Resource groups**.
28
+
29
+
1. Select **+ Create**.
30
+
31
+
1. In the **Basics** tab of **Create a resource group**, enter, or select the following information:
32
+
33
+
| Setting | Value |
34
+
| ------- | ----- |
35
+
| Subscription | Select your subscription. |
36
+
| Resource group | Enter **test-rg**. |
37
+
| Region | Select **East US 2**. |
38
+
39
+
1. Select **Review + create**.
40
+
41
+
1. Select **Create**.
42
+
43
+
## Create a virtual network
44
+
45
+
The following procedure creates a virtual network with a resource subnet.
46
+
47
+
1. In the portal, search for and select **Virtual networks**.
48
+
49
+
1. On the **Virtual networks** page, select **+ Create**.
50
+
51
+
1. On the **Basics** tab of **Create virtual network**, enter, or select the following information:
52
+
53
+
| Setting | Value |
54
+
|---|---|
55
+
|**Project details**||
56
+
| Subscription | Select your subscription. |
57
+
| Resource group | Select **test-rg**. |
58
+
|**Instance details**||
59
+
| Name | Enter **vnet-1**. |
60
+
| Region | Select **East US 2**. |
61
+
62
+
1. Select **Next** to proceed to the **Security** tab.
63
+
64
+
1. Select **Next** to proceed to the **IP Addresses** tab.
65
+
66
+
1. In the address space box in **Subnets**, select the **default** subnet.
67
+
68
+
1. In **Edit subnet**, enter or select the following information:
69
+
70
+
| Setting | Value |
71
+
|---|---|
72
+
|**Subnet details**||
73
+
| Subnet template | Leave the default **Default**. |
74
+
| Name | Enter **subnet-1**. |
75
+
| Starting address | Leave the default of **10.0.0.0**. |
76
+
| Subnet size | Leave the default of **/24 (256 addresses)**. |
77
+
78
+
1. Select **Save**.
79
+
80
+
1. Select **Review + create** at the bottom of the screen, and when validation passes, select **Create**.
81
+
82
+
## Deploy Azure Bastion
83
+
84
+
Azure Bastion uses your browser to connect to VMs in your virtual network over Secure Shell (SSH) or Remote Desktop Protocol (RDP) by using their private IP addresses. The VMs don't need public IP addresses, client software, or special configuration. For more information about Azure Bastion, see [Azure Bastion](/azure/bastion/bastion-overview).
| Configure network security group | Select **Create new**.</br> In **Name** enter **nsg-1**.</br> Select **OK**. |
154
+
155
+
1. Leave the rest of the options at the defaults and select **Review + create**.
156
+
157
+
1. Select **Create**.
158
+
159
+
1. A **Generate new key pair** pop-up appears. Select **Download private key and create resource**.
160
+
161
+
1. The private key file downloads to your computer. Save the private key file to a known location on your computer. This key is used to connect to the virtual machine with Azure Bastion in a later step.
30
162
31
163
## Add IP configuration
32
164
@@ -79,9 +211,15 @@ Sign-in to the virtual machine you created previously with the Azure Bastion hos
79
211
80
212
1. Select **vm-1**.
81
213
82
-
1. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
214
+
1. In the **Overview** of **vm-1**, select **Connect** then **Connect via Bastion**.
83
215
84
-
1. Enter the username and password you created when you deployed the virtual machine in the previous steps.
216
+
1. In the **Bastion** connection page, enter or select the following information:
217
+
218
+
| Setting | Value |
219
+
| ------- | ----- |
220
+
| Authentication Type | Select **SSH Private Key from Local File**. |
221
+
| Username | Enter the username you created. |
222
+
| Local File | Select the **vm-1-key** private key file you downloaded. |
85
223
86
224
1. Select **Connect**.
87
225
@@ -101,9 +239,15 @@ For more information about the Azure CNI plugin, see [Microsoft Azure Container
101
239
102
240
1. Select **vm-1**.
103
241
104
-
1. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
242
+
1. In the **Overview** of **vm-1**, select **Connect** then **Connect via Bastion**.
105
243
106
-
1. Enter the username and password you created when you deployed the virtual machine in the previous steps.
244
+
1. In the **Bastion** connection page, enter or select the following information:
245
+
246
+
| Setting | Value |
247
+
| ------- | ----- |
248
+
| Authentication Type | Select **SSH Private Key from Local File**. |
249
+
| Username | Enter the username you created. |
250
+
| Local File | Select the **vm-1-key** private key file you downloaded. |
0 commit comments