Skip to content

Commit 3dffe58

Browse files
authored
Merge pull request #46194 from ydFu/zh-define-command-argument-container
[zh] update define-command-argument-container.md
2 parents 095ad70 + 3c38c53 commit 3dffe58

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/zh-cn/docs/tasks/inject-data-application/define-command-argument-container.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ with your new arguments.
5050

5151
{{< note >}}
5252
<!--
53-
The `command` field corresponds to `entrypoint` in some container runtimes.
53+
The `command` field corresponds to `ENTRYPOINT`, and the `args` field corresponds to `CMD` in some container runtimes.
5454
-->
55-
在有些容器运行时中,`command` 字段对应 `entrypoint`
55+
`command` 字段对应于 `ENTRYPOINT`,而 `args` 字段对应于某些容器运行时的 `CMD`
5656
{{< /note >}}
5757

5858
<!--
@@ -82,7 +82,8 @@ file for the Pod defines a command and two arguments:
8282
```
8383

8484
<!--
85-
The output shows that the container that ran in the command-demo Pod has completed.
85+
The output shows that the container that ran in the command-demo Pod has
86+
completed.
8687
-->
8788
查询结果显示在 command-demo 这个 Pod 下运行的容器已经启动完成。
8889

@@ -97,7 +98,8 @@ from the Pod:
9798
```
9899

99100
<!--
100-
The output shows the values of the HOSTNAME and KUBERNETES_PORT environment variables:
101+
The output shows the values of the HOSTNAME and KUBERNETES_PORT environment
102+
variables:
101103
-->
102104
日志中显示了 HOSTNAME 与 KUBERNETES_PORT 这两个环境变量的值:
103105

0 commit comments

Comments
 (0)