Skip to content

Commit 893236c

Browse files
authored
Merge pull request #48410 from Arhell/pt-change
[pt] Changed the command for Attaching to the shell container
2 parents 18f04a9 + 4d795bd commit 893236c

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)