Connect into a running container

From wikieduonline
Revision as of 12:19, 27 October 2024 by Welcome (talk | contribs)
(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


See also[edit]

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