Module 01 · Containers and Containerization
Summary & Highlights: Understanding the Benefits of Containers概要与重点:理解容器的优势
Congratulations! You have completed this first module.
恭喜!您已完成本模块。
At this point, you know:
此时,您已了解:
- A container is a unit of software that encapsulates everything needed to build, ship, and run applications.
容器是一个封装了构建、部署和运行应用程序所需所有内容的软件单元。 - Containers lower deployment time and costs, improve utilization, automate processes, and support next-gen applications (microservices). Major container vendors include Docker, Podman, LXC, and Vagrant.
容器可缩短部署时间、降低成本、提高利用率、自动化流程,并支持下一代应用程序(微服务)。主要的容器供应商包括 Docker、Podman、LXC 和 Vagrant。 - Docker is an open platform used for developing, shipping, and running applications as containers.
Docker 是一个用于开发、交付和运行容器化应用的开放平台。 - Docker containers are not a good fit for applications based on monolithic architecture or applications that require high performance or security.
Docker 容器不适合基于单体架构的应用程序,或者需要高性能或安全性的应用程序。 - Docker architecture consists of the Docker client, the Docker host, and the container registry.
Docker 架构由 Docker 客户端、Docker 主机和容器注册中心组成。 - The Docker host contains objects such as the Dockerfiles, images, containers, networks, storage volumes, and other objects, such as plugins and add-ons.
Docker 主机包含 Dockerfile、镜像、容器、网络、存储卷等对象,以及其他对象,如插件和附加组件。 - Docker uses networks to isolate container communications.
Docker 使用网络来隔离容器通信。 - Docker uses volumes and binds mounts to persist data even after a container stops running.
Docker 使用卷和绑定挂载来持久化数据,即使容器停止运行也是如此。 - Plugins, such as storage plugins, provide the ability to connect to external storage platforms.
插件,例如存储插件,提供了连接到外部存储平台的能力。