Difference between revisions of "Kubernetes.io: Get a shell to a running container"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[kubectl]] exec -it redis -- /bin/bash</code> (Get a shell to a running container (https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/)) | * <code>[[kubectl]] exec -it redis -- /bin/bash</code> (Get a shell to a running container (https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/)) | ||
+ | == Related == | ||
+ | * <code>[[docker exec]]</code> | ||
== See also == | == See also == |
Revision as of 14:56, 4 July 2022
https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/
kubectl exec -it redis -- /bin/bash
(Get a shell to a running container (https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/))
Related
See also
Advertising: