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
+27-27Lines changed: 27 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,25 +32,25 @@ In this section, you add an IP configuration to the virtual network interface of
32
32
33
33
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
34
34
35
-
2. Select **vm-1**.
35
+
1. Select **vm-1**.
36
36
37
-
3. In **Settings**, select **Networking**.
37
+
1. In **Settings**, select **Networking**.
38
38
39
-
4. Select the name of the network interface next to **Network Interface:**. The network interface is named **vm-1** with a random number.
39
+
1. Select the name of the network interface next to **Network Interface:**. The network interface is named **vm-1** with a random number.
40
40
41
-
5. In **Settings** of the network interface, select **IP configurations**.
41
+
1. In **Settings** of the network interface, select **IP configurations**.
42
42
43
-
6. in **IP configurations**, select **ipconfig1** in **Name**.
43
+
1. in **IP configurations**, select **ipconfig1** in **Name**.
44
44
45
-
7. In the **ipconfig1** settings, change the assignment of the private IP address from **Dynamic** to **Static**.
45
+
1. In the **ipconfig1** settings, change the assignment of the private IP address from **Dynamic** to **Static**.
46
46
47
-
8. Select **Save**.
47
+
1. Select **Save**.
48
48
49
-
9. Return to **IP configurations**.
49
+
1. Return to **IP configurations**.
50
50
51
-
10. Select **+ Add**.
51
+
1. Select **+ Add**.
52
52
53
-
11. Enter or select the following information for **Add IP configuration**:
53
+
1. Enter or select the following information for **Add IP configuration**:
54
54
55
55
| Setting | Value |
56
56
| ------- | ----- |
@@ -59,11 +59,11 @@ In this section, you add an IP configuration to the virtual network interface of
59
59
| Allocation | Select **Static**. |
60
60
| IP address | Enter **10.1.0.5**. |
61
61
62
-
12. Select **OK**.
62
+
1. Select **OK**.
63
63
64
-
13. Verify **ipconfig-2** has been added as a secondary IP configuration.
64
+
1. Verify **ipconfig-2** has been added as a secondary IP configuration.
65
65
66
-
Repeat steps 1 through 13 to add as many configurations as containers you wish to deploy on the container host.
66
+
Repeat the previous steps to add as many configurations as containers you wish to deploy on the container host.
67
67
68
68
## Install Docker
69
69
@@ -73,13 +73,13 @@ Sign-in to the virtual machine you created previously with the Azure Bastion hos
73
73
74
74
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
75
75
76
-
2. Select **vm-1**.
76
+
1. Select **vm-1**.
77
77
78
-
3. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
78
+
1. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
79
79
80
-
4. Enter the username and password you created when you deployed the virtual machine in the previous steps.
80
+
1. Enter the username and password you created when you deployed the virtual machine in the previous steps.
81
81
82
-
5. Select **Connect**.
82
+
1. Select **Connect**.
83
83
84
84
For install instructions for Docker on an Ubuntu container host, see [Install Docker Engine on Ubuntu](https://docs.docker.com/engine/install/ubuntu/).
85
85
@@ -95,27 +95,27 @@ For more information about the Azure CNI plugin, see [Microsoft Azure Container
95
95
96
96
1. In the search box at the top of the portal, enter **Virtual machine**. Select **Virtual machines** in the search results.
97
97
98
-
2. Select **vm-1**.
98
+
1. Select **vm-1**.
99
99
100
-
3. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
100
+
1. In the **Overview** of **vm-1**, select **Connect** then **Bastion**.
101
101
102
-
4. Enter the username and password you created when you deployed the virtual machine in the previous steps.
102
+
1. Enter the username and password you created when you deployed the virtual machine in the previous steps.
103
103
104
-
5. Select **Connect**.
104
+
1. Select **Connect**.
105
105
106
-
6. The application **jq** is required for the install script for the CNI plugin, use the following example to install the application:
106
+
1. The application **jq** is required for the install script for the CNI plugin, use the following example to install the application:
107
107
108
108
```bash
109
109
sudo apt-get update
110
110
sudo apt-get install jq
111
111
```
112
-
7. Next, you clone the repository for the CNI plugin. Use the following example to clone the repository:
112
+
1. Next, you clone the repository for the CNI plugin. Use the following example to clone the repository:
8. Configure permissions and install the CNI plugin. The install script command requires a version number for the CNI plugin. At the time of the writing of this article, the newest version is **`v1.4.39`**. To obtain the latest version number of the plugin or previous versions, see [Releases](https://github.com/Azure/azure-container-networking/releases).
118
+
1. Configure permissions and install the CNI plugin. The install script command requires a version number for the CNI plugin. At the time of the writing of this article, the newest version is **`v1.4.39`**. To obtain the latest version number of the plugin or previous versions, see [Releases](https://github.com/Azure/azure-container-networking/releases).
119
119
120
120
```bash
121
121
cd ./azure-container-networking/scripts
@@ -124,19 +124,19 @@ For more information about the Azure CNI plugin, see [Microsoft Azure Container
124
124
chmod u+x docker-run.sh
125
125
```
126
126
127
-
9. To start a container with the CNI plugin, you must use a special script that comes with the plugin to create and start the container. The following example creates an Alpine container with the CNI plugin script:
127
+
1. To start a container with the CNI plugin, you must use a special script that comes with the plugin to create and start the container. The following example creates an Alpine container with the CNI plugin script:
128
128
129
129
```bash
130
130
sudo ./docker-run.sh vnetdocker1 default alpine
131
131
```
132
132
133
-
10. To verify that the container received the IP address you previously configured, connect to the container and view the IP:
133
+
1. To verify that the container received the IP address you previously configured, connect to the container and view the IP:
134
134
135
135
```bash
136
136
sudo docker exec -it vnetdocker1 /bin/sh
137
137
```
138
138
139
-
11. Use the **`ifconfig`**commandin the following example to verify the IP address was assigned to the container:
139
+
1. Use the **`ifconfig`**commandin the following example to verify the IP address was assigned to the container:
0 commit comments