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/aks/aks-extension-vs-code-draft-dockerfile.md
+28-11Lines changed: 28 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,23 +19,40 @@ Before you begin, make sure you have the following resources:
19
19
* An active folder with code open in Visual Studio Code.
20
20
* The Azure Kubernetes Service (AKS) extension for Visual Studio Code downloaded. For more information, see [Install the Azure Kubernetes Service (AKS) extension for Visual Studio Code][install-aks-vscode].
21
21
22
-
## Create a Dockerfile with the Azure Kubernetes Service (AKS) extension
22
+
## Create a Dockerfile using the Azure Kubernetes Service (AKS) extension
23
23
24
-
To use the command pallete to create a Dockerfile, press "crtl + shift + p" on your keyboard to open the command pallete. Then type "Automated Deployments: Create a Dockerfile". Once the screen pops up, the following information must be filled out.
24
+
You can access the screen to create a Dockerfile using the command palette or the explorer view.
25
25
26
-
To use the explorer view, right click on the explorer pane where your active folder is open and select "Create a Dockerfile".
26
+
### [Command palette](#tab/command-palette)
27
27
28
-
Both methods will bring you to a screen where the following information must be filled out.
28
+
1. On your keyboard, press `Ctrl+Shift+P` to open the command palette.
29
+
2. In the search bar, search for and select **Automated Deployments: Create a Dockerfile**.
30
+
3. Enter the following information:
29
31
30
-
***Location**: Choose a location where you would like to save your Dockerfile.
31
-
***Programming language**: Select the programming language your app is written in.
32
-
***Programming language version**: Select the programming language version.
33
-
***Application Port**: Select the port.
34
-
***Cluster**: Choose the port on which your application listens for incoming network connections.
32
+
***Location**: Select a location where you want to save your Dockerfile.
33
+
***Programming language**: Select the programming language your app is written in.
34
+
***Programming language version**: Select the programming language version.
35
+
***Application Port**: Select the port.
36
+
***Cluster**: Select the port in which your application listens to for incoming network connections.
35
37
36
-
Once all information is filled out, press create. Your dockerfile will now be created in your app folder.
38
+
4. Select **Create**.
37
39
38
-
For more information, see [AKS extension for Visual Studio Code features](https://code.visualstudio.com/docs/azure/aksextensions#_features).
40
+
### [Explorer view](#tab/explorer-view)
41
+
42
+
1. Right click on the explorer pane where your active folder is open and select **Create a Dockerfile**.
43
+
2. Enter the following information:
44
+
45
+
***Location**: Select a location where you want to save your Dockerfile.
46
+
***Programming language**: Select the programming language your app is written in.
47
+
***Programming language version**: Select the programming language version.
48
+
***Application Port**: Select the port.
49
+
***Cluster**: Select the port in which your application listens to for incoming network connections.
50
+
51
+
3. Select **Create**.
52
+
53
+
---
54
+
55
+
For more information, see [AKS extension for Visual Studio Code features][aks-vscode-features].
0 commit comments