Skip to content

Commit 4e687d7

Browse files
authored
Merge pull request #21303 from fancc/containers
translate container/overview into chinese
2 parents 62d2110 + 5865c73 commit 4e687d7

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: 容器概述
3+
content_template: templates/concept
4+
weight: 1
5+
---
6+
7+
{{% capture overview %}}
8+
9+
<!--
10+
Containers are a technnology for packaging the (compiled) code for an
11+
application along with the dependencies it needs at run time. Each
12+
container that you run is repeatable; the standardisation from having
13+
dependencies included means that you get the same behavior wherever you
14+
run it.
15+
16+
Containers decouple applications from underlying host infrastructure.
17+
This makes deployment easier in different cloud or OS environments.
18+
-->
19+
容器是一种用来打包已经编译好的代码以及运行时需要的各个依赖项的技术。您运行的每个容器都是可以重复运行的;包含依赖项的标准化意味着您在任何地点运行它都会得到相同的结果。
20+
21+
容器将应用程序和底层主机架构解耦,这使得在不同的云或OS环境中部署应用更加容易。
22+
23+
{{% /capture %}}
24+
25+
26+
{{% capture body %}}
27+
28+
<!--
29+
## Container images
30+
A [container image](/docs/concepts/containers/images/) is a ready-to-run
31+
software package, containing everything needed to run an application:
32+
the code and any runtime it requires, application and system libraries,
33+
and default values for any essential settings.
34+
35+
By design, a container is immutable: you cannot change the code of a
36+
container that is already running. If you have a containerized application
37+
and want to make changes, you need to build a new container that includes
38+
the change, then recreate the container to start from the updated image.
39+
-->
40+
## 容器镜像
41+
42+
[容器镜像](/docs/concepts/containers/images/)是一个现成的软件包,包含了运行应用程序时所需要的一切:代码和任何运行时所需的东西,应用程序和系统库,以及任何基本设置的默认值。
43+
44+
根据设计,容器是不可变的:你不能更改已经在运行的容器中的代码。如果您有一个容器化的应用程序,想要做一些更改,您需要构建一个新的容器,来包含所做的更改,然后使用已经更新过的镜像来重新创建容器。
45+
46+
<!--
47+
## Container runtimes
48+
-->
49+
##容器运行时
50+
51+
{{< glossary_definition term_id="container-runtime" length="all" >}}
52+
53+
{{% /capture %}}
54+
{{% capture whatsnext %}}
55+
<!--
56+
* Read about [container images](/docs/concepts/containers/images/)
57+
* Read about [Pods](/docs/concepts/workloads/pods/)
58+
-->
59+
* 阅读有关[容器镜像](/docs/concepts/containers/images/)
60+
* 阅读有关 [Pods](/docs/concepts/workloads/pods/)
61+
{{% /capture %}}

0 commit comments

Comments
 (0)