Skip to content

Commit 832a83e

Browse files
authored
Merge pull request #102 from Kisa-Dong/main
Update pod.md
2 parents df5cac6 + ae7f68e commit 832a83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pod.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ kubectl port-forward nginx-pod 4000:80
5050
`kubectl exec -it` 可以用来进入 Pod 内容器的 Shell。通过命令下面的命令来配置 `nginx` 的首页内容。
5151

5252
```shell
53-
kubectl exec -it nginx-pod /bin/bash
53+
kubectl exec -it nginx-pod -- /bin/bash
5454
5555
echo "hello kubernetes by nginx!" > /usr/share/nginx/html/index.html
5656

0 commit comments

Comments
 (0)