diff --git a/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md b/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md index 193301b42d92e..17a37bce4bec0 100644 --- a/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md +++ b/content/zh-cn/docs/tasks/debug/debug-application/get-shell-running-container.md @@ -161,7 +161,7 @@ variables in the running container: 在普通的命令窗口(而不是 shell)中,打印环境运行容器中的变量: ```shell -kubectl exec shell-demo env +kubectl exec shell-demo -- env ```