Docker以及docker在serverless framework中的应用

本文介绍了Docker作为创建、部署和运行应用程序的工具,其镜像是包含代码、依赖和运行时的标准化软件单元。容器是镜像的运行实例,确保应用在不同环境下一致工作。对比了容器与虚拟机的区别,容器轻量级且资源利用率高。最后,探讨了Docker在Serverless框架中的应用,如与Lambda的兼容性,以及如何利用Docker镜像打包和部署应用。
摘要由CSDN通过智能技术生成

Docker以及docker在serverless framework中的应用

VM and Docker Container

镜像和容器

WHAT IS DOCKER?

Docker is a tool for creating, deploying and running applications inside containers

Containers are standardized software units that contain code, dependencies, runtimes and settings in a single package

镜像(docker)是一个可以用于在容器中创建、部署、运行应用的工具。**容器是标准化的软件单元包含了代码、以来以及运行时间和设置。

容器是镜像运行时的实例,用户可以从单个镜像上启动一个或多个容器。

Containers store applications by keeping them isolated from the environment they run on

They are portable and ensure that application works uniformly on different computing environments

Container images become containers when they run on Docker Engine

容器存储这应用,无关应用的运行环境。当运行在镜像上时container image会形成容器。(不是很懂)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值