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: content/get-started/introduction/build-and-push-first-image.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,32 +144,39 @@ Now that you have a repository, you are ready to build and push your image. An i
144
144
{{< /tab >}}
145
145
{{< tab name="VS Code" >}}
146
146
147
-
1. Open Visual Studio Code. In the **File** menu, select **Open Folder**. Choose **Clone Git Repository** and paste this URL: [https://github.com/docker/getting-started-todo-app](https://github.com/docker/getting-started-todo-app)
147
+
1. Ensure you have the **Docker extension for VS Code** installed.
148
+
- Open Visual Studio Code.
149
+
- Go to the **Extensions Marketplace** (Ctrl+Shift+X or Cmd+Shift+X on Mac).
150
+
- Search for `Docker` and install the extension by Microsoft.
151
+
152
+

153
+
154
+
2. Open Visual Studio Code. In the **File** menu, select **Open Folder**. Choose **Clone Git Repository** and paste this URL: [https://github.com/docker/getting-started-todo-app](https://github.com/docker/getting-started-todo-app)
148
155
149
156

150
157
151
158
152
159
153
-
2. Right-click the `Dockerfile` and select the **Build Image...** menu item.
160
+
3. Right-click the `Dockerfile` and select the **Build Image...** menu item.
154
161
155
162
156
163

157
164
158
-
3. In the dialog that appears, enter a name of `DOCKER_USERNAME/getting-started-todo-app`, replacing `DOCKER_USERNAME` with your Docker username.
165
+
4. In the dialog that appears, enter a name of `DOCKER_USERNAME/getting-started-todo-app`, replacing `DOCKER_USERNAME` with your Docker username.
159
166
160
-
4. After pressing **Enter**, you'll see a terminal appear where the build will occur. Once it's completed, feel free to close the terminal.
167
+
5. After pressing **Enter**, you'll see a terminal appear where the build will occur. Once it's completed, feel free to close the terminal.
161
168
162
-
5. Open the Docker Extension for VS Code by selecting the Docker logo in the left nav menu.
169
+
6. Open the Docker Extension for VS Code by selecting the Docker logo in the left nav menu.
163
170
164
-
6. Find the image you created. It'll have a name of `docker.io/DOCKER_USERNAME/getting-started-todo-app`.
171
+
7. Find the image you created. It'll have a name of `docker.io/DOCKER_USERNAME/getting-started-todo-app`.
165
172
166
-
7. Expand the image to view the tags (or different versions) of the image. You should see a tag named `latest`, which is the default tag given to an image.
173
+
8. Expand the image to view the tags (or different versions) of the image. You should see a tag named `latest`, which is the default tag given to an image.
167
174
168
-
8. Right-click on the **latest** item and select the **Push...** option.
175
+
9. Right-click on the **latest** item and select the **Push...** option.
169
176
170
177

171
178
172
-
9. Press **Enter** to confirm and then watch as your image is pushed to Docker Hub. Depending on your upload speeds, it might take a moment to push the image.
179
+
10. Press **Enter** to confirm and then watch as your image is pushed to Docker Hub. Depending on your upload speeds, it might take a moment to push the image.
173
180
174
181
Once the upload is finished, feel free to close the terminal.
0 commit comments