Difference between revisions of "Kubernetes.io: Get a shell to a running container"

From wikieduonline
Jump to navigation Jump to search
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/))
+
* <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 ==
 
== Related ==

Revision as of 13:08, 6 February 2024

Advertising: