E589 [pt] Changed the command for Attaching to the shell container · kubernetes/website@4d795bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d795bd

Browse files
committed
[pt] Changed the command for Attaching to the shell container
1 parent d920518 commit 4d795bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ O compartilhamento de namespace de processos é ativado usando o campo `sharePro
3636
1. Conecte ao `shell` do contêiner e execute o comando `ps`:
3737

3838
```shell
39-
kubectl attach -it nginx -c shell
39+
kubectl exec -it nginx -c shell -- /bin/sh
4040
```
4141

4242
Se você não vir um prompt de comando, tente pressionar Enter. No shell do Contêiner execute:

0 commit comments

Comments
 (0)
0