Added an explanation for using the double dash symbol (#10661)
* Added an explanation for using the double dash symbol * Changing to note block. * Update get-shell-running-container.md
This commit is contained in:
@@ -47,6 +47,11 @@ Get a shell to the running Container:
|
|||||||
```shell
|
```shell
|
||||||
kubectl exec -it shell-demo -- /bin/bash
|
kubectl exec -it shell-demo -- /bin/bash
|
||||||
```
|
```
|
||||||
|
{{< note >}}
|
||||||
|
|
||||||
|
The double dash symbol "--" is used to separate the arguments you want to pass to the command from the kubectl arguments.
|
||||||
|
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
In your shell, list the root directory:
|
In your shell, list the root directory:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user