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.
1 parent 650d42e commit 585c1c6Copy full SHA for 585c1c6
content/en/docs/tasks/configure-pod-container/share-process-namespace.md
@@ -40,7 +40,7 @@ Process namespace sharing is enabled using the `shareProcessNamespace` field of
40
1. Attach to the `shell` container and run `ps`:
41
42
```shell
43
- kubectl attach -it nginx -c shell
+ kubectl exec -it nginx -c shell -- /bin/sh
44
```
45
46
If you don't see a command prompt, try pressing enter. In the container shell:
0 commit comments