Skip to content

Commit 32188f0

Browse files
authored
Merge pull request #48307 from Arhell/ja-change
[ja] Changed the command for Attaching to the shell container
2 parents 13f9216 + fb49b3e commit 32188f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/ja/docs/tasks/configure-pod-container/share-process-namespace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ weight: 200
4141
1. `shell`コンテナにアタッチして`ps`を実行します:
4242

4343
```shell
44-
kubectl attach -it nginx -c shell
44+
kubectl exec -it nginx -c shell -- /bin/sh
4545
```
4646

4747
コマンドプロンプトが表示されない場合は、Enterキーを押してみてください。

0 commit comments

Comments
 (0)