Connect into a running container

From wikieduonline
Revision as of 09:54, 21 March 2024 by Welcome (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • docker exec[1] -it <my_container_name> bash
  • docker exec -it <my_container_name> sh
  • docker run -it --user USER_NAME CONTAINER_NAME



docker exec

Advertising: