code-snippets/docs/docker/exec-into-container.md
Liam Pietralla 7f394c94ea
All checks were successful
Build, Test & Publish / Build (pull_request) Successful in 22s
Build, Test & Publish / Build and Publish Container Image (pull_request) Has been skipped
Build, Test & Publish / Deploy to Infrastructure (pull_request) Has been skipped
add docker exec script
2024-09-17 11:28:31 +10:00

7 lines
197 B
Markdown

# Exec Into Container
Often it's handy to exec into a container to poke around or run commands. Here's how you can do that:
```bash
docker run --rm -it --entrypoint /bin/bash <container-name>
```