Difference between revisions of "Connect into a running container"

From wikieduonline
Jump to navigation Jump to search
(Created page with "* <code>docker exec<ref>https://docs.docker.com/engine/reference/commandline/exec/</ref> -it <my_container_name> bash</code> * <code>docker exec -it <my_container_name> sh...")
 
 
Line 5: Line 5:
  
  
 +
== See also ==
 +
* {{docker exec}}
  
{{docker exec}}
+
[[Category:Docker]]

Latest revision as of 12:19, 27 October 2024

  • docker exec[1] -it <my_container_name> bash
  • docker exec -it <my_container_name> sh
  • docker run -it --user USER_NAME CONTAINER_NAME


See also[edit]

  • https://docs.docker.com/engine/reference/commandline/exec/
  • Advertising: