[zh] fix: update deprecated command in code example
This commit is contained in:
parent
b9bb81dfaf
commit
5ff3eb0e2f
|
|
@ -161,7 +161,7 @@ variables in the running container:
|
||||||
在普通的命令窗口(而不是 shell)中,打印环境运行容器中的变量:
|
在普通的命令窗口(而不是 shell)中,打印环境运行容器中的变量:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl exec shell-demo env
|
kubectl exec shell-demo -- env
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue