
Learn the basics of Docker for dotnet developers, containerize a dotnet app, and work with autogenerated and custom Docker files. Publish images to Docker Hub and deploy containers to Azure.
Explore docker fundamentals, install docker desktop, run a hello world image in a container with port mapping, and build and deploy a dotnet app using a dockerfile to Azure.
Discover how Docker packages apps into portable containers that seal code and dependencies, enabling the same behavior from local development to production and eliminating deployment issues.
Explore how containers run apps on images, compare containers with virtual machines, and pull ready-made images from Docker Hub to deploy dotnet, nodejs, and nginx.
Learn how Docker images are built in layers, starting from a base image and adding fonts, styles, colors, and pictures to create the final image.
Discover how docker images and containers work by building a final image from a base server or dotnet sdk, layering files, deploying to a container, and running apps.
Compare virtual machines and Docker containers, highlighting how VMs run separate guest operating systems with a hypervisor, while Docker containers share the host OS, start quickly, and use less memory.
Download and install docker desktop for Windows from docker.com, then run the docker engine and sign in to hub.docker.com with a free account.
Keep Docker Desktop running at all times during the course to ensure you can work with Docker, and avoid pausing or quitting Docker Desktop.
Explore how to pull a Docker image from hub.docker.com, view local images with Docker images, and run a container that prints hello from Docker using the latest tag by default.
Explore listing all containers with docker ps -a, identify active vs exited containers, and remove images with docker rmi only after deleting the container with docker rm.
Run a docker container for 10 seconds to simulate a short task, observe that containers exit when idle, and manage images with docker ps, rm, and rmi.
Discover how Docker run auto-downloads an image from Docker Hub when missing locally; running hello world pulls the image, starts and exits a container, then you remove container and image.
Learn to host a .NET application using the Microsoft or Docker .NET image, understand latest and version tags (7.0, 8.0 rc), and manage docker images and forced deletions.
Pull and run an Nginx web server in a Docker container to serve a simple index.html, demonstrating static html deployment in a local environment.
Create a dockerfile to build a container from the nginx image, copying the sample web app files into the nginx server's html directory to run the app in a container.
Build a new docker image from the nginx base by copying html files and layering changes. Use docker build with tags and lowercase repository names, then verify the image.
Learn to run a Docker container from an nginx image, map port 9000 to 80, and manage image tags from 1.00.0 to 1.0.1 while troubleshooting index.html casing.
Learn how docker port mapping exposes a container’s port to the docker host by binding container port 80 to a free host port, enabling external access.
Tag images and detach docker runs to keep containers in the background, apply multiple tags like latest and sample web app, and verify port mapping with docker ps.
Build version 12 of the image, run a v12 container on port 9001 to compare with the old 9000, then tag version 12 as latest.
Explore essential docker container commands, including running and binding ports, stopping and removing containers, restarting and toggling between versions, and checking status with docker ps.
Stop running containers, list all containers and images with docker ps -a and docker images -q, then remove them with docker rm and docker rmi, using --force when needed.
Learn to use the from command with the nginx base image, pull a specific tag, and assign an alias to your image, illustrating Docker's layered architecture.
Master the Docker copy command with relative paths and copying from a base image using alias. Understand building layered images by using from, final image, and copying files across stages.
Set the container's working directory with the workdir command to control where files copy and run inside the docker container, including multiple work directories like nginx and html.
Learn to use ARG and ENV in docker for dotnet apps, enabling build-time and runtime configuration, overriding defaults with --build-arg and -e at run time.
Learn how the expose instruction differs from port mapping, showing that expose is for documentation while real connectivity relies on port mapping, exposing 80 and 443 for http and https.
Create a new mvc project in Visual Studio using dotnet eight, set up a docker sample app with the solution and project in the same directory.
Use the docker run command to execute code on an image and create a new layer; it supports building a dotnet project with a work dir and dotnet build.
Learn how the entry point in a Dockerfile causes an executable to run on container start, illustrated by building and running an ubuntu image and invoking a dotnet dll.
Build and tag docker images for a sample web app using docker build with -t and -f, verify image IDs, manage tags with docker rmi, and adjust build context.
Master docker run to spin up containers with named instances and proper port mapping. Run in detached mode, pass environment variables, and connect via exec for interactive terminals.
Clean up a net application deployment with docker by removing all containers and images using docker ps, docker rm -f, and docker rmi -f in PowerShell.
Explore volumes in Docker by mapping a local backup folder to a container directory to persist data across restarts, enabling automatic file and database backups and restoration, including Azure SQL.
Create a .NET eight MVC web app in Visual Studio, enabling Docker and Linux, inspect the Docker file, learn port mappings, and run and debug using the Docker profile.
Understand how a dockerfile uses a base ASP.NET 8.0 image to build a dotnet project, restore NuGet packages, and output to app/build.
Explore how a dotnet dockerfile builds and publishes an app, then uses docker build and docker run to deploy a final base image with an alias and publish output.
Add Docker support to an old app by right-clicking the project and selecting Linux to generate a Docker file; Visual Studio auto-configures and runs the container for debugging.
Create a custom dockerfile for a dotnet eight web app, restore nuget packages, publish release, and run the final image with dotnet my web app dll as the entry point.
Publish the dotnet app with dotnet publish, then run the produced dll locally to start the website on port 5000.
Build a docker image from the docker file, run a container with port 8000 mapped to internal 5000, and set dotnet urls to http://+:5000 to run the .NET app.
Log in to Docker Hub from PowerShell by running docker login after starting Docker Desktop; enter your Docker Hub credentials and confirm login succeeds in the console.
Learn to push a .NET web app image to Docker Hub by tagging with user id and repository name, logging in, and using docker push for specific and latest versions.
Demonstrates pulling a published docker image, cleaning up images, choosing a tag, and running a container with port mapping to verify a .NET app locally.
learn how to set environment variables in a docker file for asp.net core apps, map port 5000, build and tag images (latest and 1.0.3), and push to Docker Hub.
Deploy a .NET app image to an Azure container instance from Docker Hub, configure resource group and region, use a linux container, and expose port 5000 to access the app.
deploy a dotnet container to azure container apps, configure a docker registry, environment variables, http ingress on port 5000, and troubleshoot region constraints while comparing container apps and container instances.
Demonstrate deploying a container on Azure and the importance of cleaning up resources, including deleting container instances and container apps to prevent unexpected charges.
Learn to create a .NET MVC project with separate solution and project directories, enable docker, build and run a dockerized app, and debug docker build errors from PowerShell.
Fix the docker build by aligning the dockerfile work directory with the project and simplifying paths so dotnet restore and build succeed.
For Udemy Business Students : This course requires you to download Docker Desktop. If you are a Udemy Business user, please check with your employer before downloading software.
Docker is a buzz word that is gaining more and more attention in the tech world. And that is for a reason!
But being a .NET developer if you have to learn docker, it can sometimes be a patchy road! Not because it is difficult but because it is not exactly programming language! It is a different domain but in order to be a full stack developer now docker is becoming one of the required tech stack.
This course is aimed exactly at that requirement! In under 3 hours we will start from ground zero in docker and explore all the fundamentals as we will see the default built in docker file in a .NET application and then build a dockerfile manually for .NET application.
We will explore basic terminology when it comes to docker like images, containers, create our image and publish them to azure containers and much more!
This will be a hands on course with docker as we will spend time to understand docker and host a simple html in docker before we dive into docker support for .NET applications.
This course has very special focus for .NET developers and how they can easily grasp docker, and deploy their applications.