Containerization using Docker

Working with Containerization using Docker

3.75 (8 reviews)
Udemy
platform
English
language
Databases
category
instructor
35
students
2.5 hours
content
Mar 2020
last update
$19.99
regular price

What you will learn

Understanding VM and Containers

What is Docker and its Benefits

Docker Architecture

Steps to Create Docker Image

Build and Publish Docker Image to Docker Hub using Azure Pipeline

Build and Publish Docker Image to Azure Container Registry using Azure Pipeline

Deploying to Web App

Deploy a Function App Container Image

Description

Understanding Virtual Machines and Containers

What is a Virtual Machine

• A virtual machine is a computer file, typically called an image, which behaves like an actual computer – computer within a computer

• It runs in a window, much like any other program, giving the end-user the same experience on a virtual machine as they would have on the host operating system itself.

• Multiple virtual machines can run simultaneously on the same physical computer.

What is Docker and its Benefits

• Docker is an open-source platform for developing, shipping, and running applications by using containers.

• Docker enables you to separate your applications from your infrastructure so you can deliver software quickly.

• With Docker, you can manage your infrastructure in the same ways you manage your applications.


The Docker platform uses the Docker Engine to quickly build and package apps as Docker images created using files written in the Dockerfile format that then is deployed and run in a layered container.


Benefits of Docker:

1. Resource Efficiency: Docker is lightweight and fast. Process level isolation and usage of the container host’s kernel is more efficient when compared to virtualizing an entire hardware server using VM.

Docker Architecture and its Taxonomy

Docker Engine is a client-server application with these major components:

• A server which is a type of long-running program called a daemon process.

• A REST API that specifies interfaces that programs can use to talk to the daemon and instruct it what to do.

Create an Image Manually

Step 1: Update the Code

1. Create a New Project - HelloWebApp dotnet new MVC -n HelloWebApp

2. Add dockerfile as below Dockerfile

Azure Pipeline for Build and Publish Docker Image to Docker Hub

Azure Pipelines can be used to build images for any repository containing a Dockerfile. The building of both Linux and Windows containers is possible based on the agent platform used for the build.


Deploying to Web App

You can automatically deploy your application to an Azure Web App for Linux Containers after every successful build.


Content

Introduction to Containers and Comparison with VM

Introduction to Containers and Comparison with VM

Understanding Docker Architecture

Understanding Docker Architecture

Creating a Docker Image using Dockerfile

Creating a Docker Image using Dockerfile

Pushing Image to Docker Hub and Azure Container Registry

Pushing Image to Docker Hub and Azure Container Registry

Deploying Docker Images in App Service and Container Instance

Deploying Docker Images in App Service and Container Instance

Creating a CI and CD Pipeline for Docker Image

Creating a CI and CD Pipeline for Docker Image

Screenshots

Containerization using Docker - Screenshot_01Containerization using Docker - Screenshot_02Containerization using Docker - Screenshot_03Containerization using Docker - Screenshot_04

Charts

Price

Containerization using Docker - Price chart

Rating

Containerization using Docker - Ratings chart

Enrollment distribution

Containerization using Docker - Distribution chart

Related Topics

2850780
udemy ID
3/4/2020
course created date
3/21/2020
course indexed date
Bot
course submited by