Kubernetes.io: Get a shell to a running container
Jump to navigation
Jump to search
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[edit]
- https://stackoverflow.com/questions/25267372/correct-way-to-detach-from-a-container-without-stopping-it ctrl+p ctrl+q
See also[edit]
Advertising: