Connect into a running container

From wikieduonline
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: