Containerization using Docker

所在平台: Udemy

课程主页: https://www.udemy.com/course/containerization-using-docker/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:使用Docker的容器化 课程概述: 本课程旨在帮助学员理解虚拟机和容器的基本概念。首先,介绍虚拟机的概念,虚拟机是一个计算机文件(通常称为镜像),其功能类似于实际计算机。这种虚拟机在窗口中运行,用户体验与主操作系统相同,并且可以在同一物理计算机上同时运行多个虚拟机。 接着,课程将深入讲解Docker及其优点。Docker是一个开源平台,通过使用容器来开发、运输和运行应用程序。Docker的优势在于它能够将应用程序与基础设施分离,从而快速交付软件。此外,Docker让用户能够以与管理应用程序相同的方式来管理基础设施。Docker平台使用Docker引擎,利用Dockerfile格式的文件快速构建和打包应用程序为Docker镜像,随后被部署并运行在分层容器中。 Docker的好处包括: 1. 资源效率:Docker轻量且快速,相比于虚拟化整个硬件服务器,容器级别的隔离以及使用宿主机内核的方式更加高效。 课程还将介绍Docker的架构及其分类。Docker引擎是一个客户端-服务器应用程序,主要由以下组件构成: - 一个作为守护进程的服务器。 - 一个REST API,规范了程序如何与守护进程沟通并指示其执行相关任务。 此外,课程将指导学员如何手动创建镜像,包括更新代码和创建新项目(HelloWebApp),并编写相应的Dockerfile。最后,课程还介绍了如何使用Azure Pipeline构建和发布Docker镜像到Docker Hub,以及自动将应用程序部署到Linux容器的Azure Web App。 无论是想要快速掌握Docker的基本知识,还是希望将其应用于实际项目,这门课程都将为学员提供实用的指导和实践经验。

课程评论(0条)

课程详情

Understanding Virtual Machines and ContainersWhat 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 TaxonomyDocker 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 ManuallyStep 1: Update the Code1. Create a New Project - HelloWebApp dotnet new MVC -n HelloWebApp2. Add dockerfile as below DockerfileAzure Pipeline for Build and Publish Docker Image to Docker HubAzure 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 AppYou can automatically deploy your application to an Azure Web App for Linux Containers after every successful build.

课程标签

0人关注该课程

主题相关的课程