Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 253 Bytes

Executing.md

File metadata and controls

14 lines (9 loc) · 253 Bytes

Executing Commands in Containers

  • Open a bash shell in a running container:

    docker exec -it <container-id/name> /bin/bash
  • Execute a command in a running container:

    docker exec -it <container-id/name> <command>