---
title: 容器(Container)
id: container
date: 2018-04-12
full_link: /zh-cn/docs/concepts/overview/what-is-kubernetes/#why-containers
short_description: >
容器是可移植、可执行的轻量级的镜像,镜像中包含软件及其相关依赖。
aka:
tags:
- fundamental
- workload
<!--
title: Container
full_link: /docs/concepts/containers/
A lightweight and portable executable image that contains software and all of its dependencies.
-->
容器是可移植、可执行的轻量级的镜像,包含其中的软件及其相关依赖。
<!--more-->
Containers decouple applications from underlying host infrastructure to make deployment easier in different cloud or OS environments, and for easier scaling.
容器使应用和底层的主机基础设施解耦,降低了应用在不同云环境或者操作系统上的部署难度,便于应用扩展。