We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df5cac6 + ae7f68e commit 832a83eCopy full SHA for 832a83e
docs/pod.md
@@ -50,7 +50,7 @@ kubectl port-forward nginx-pod 4000:80
50
`kubectl exec -it` 可以用来进入 Pod 内容器的 Shell。通过命令下面的命令来配置 `nginx` 的首页内容。
51
52
```shell
53
-kubectl exec -it nginx-pod /bin/bash
+kubectl exec -it nginx-pod -- /bin/bash
54
55
echo "hello kubernetes by nginx!" > /usr/share/nginx/html/index.html
56
0 commit comments