Difference between revisions of "Kubernetes.io: Get a shell to a running container"
Jump to navigation
Jump to search
(Created page with "https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-running-container/ Category:CKAD") Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
https://kubernetes.io/docs/tasks/debug-application-cluster/get-shell-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/)) | ||
[[Category:CKAD]] | [[Category:CKAD]] |
Revision as of 16:52, 26 January 2020
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/))
Advertising: