From the course: Deploying ASP.NET Core Applications: From Fundamentals to Advanced Deployment Strategies
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Building and pushing Docker images with Command Prompt: Part 1 - ASP.NET Core Tutorial
From the course: Deploying ASP.NET Core Applications: From Fundamentals to Advanced Deployment Strategies
Building and pushing Docker images with Command Prompt: Part 1
- [Instructor] On this part, you'll learn how to build, publish, and run Docker container images by using Command Prompt instead of Visual Studio. So for that, let us go to our project and see it in there. Now in the project, we have already seen that we have the Docker file and if you go to the Solution Explorer, you can see that it's inside this project, So the DockerDeployment.App. What we need to do is that we need to open Command Prompt in the folder that does have the Docker file. For that, you can just right-click and then just go to Open Folder in File Explorer. Then you just go back. So you go to the level where you have the Docker file, and then here at the top just type cmd. This is going to open Command Prompt in this folder. You can see that the Command Prompt has been opened in the project folder. Now here we need to use a Docker command to create the image. If you're not sure about the Docker command, you can always just type in here, Docker. You're going to get a lot…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Introduction to Docker and containerization2m 27s
-
(Locked)
Containerizing ASP.NET Core applications5m 35s
-
(Locked)
Building and pushing Docker images with Visual Studio3m 5s
-
(Locked)
Building and pushing Docker images with Command Prompt: Part 16m 59s
-
(Locked)
Building and pushing Docker images with Command Prompt: Part 25m 4s
-
(Locked)
Deploying Docker images to Docker hosts6m 39s
-
(Locked)
-
-