code-snippets/docs/docker/exec-into-container.md

7 lines
197 B
Markdown
Raw Normal View History

2024-09-17 11:28:31 +10:00
# 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>
```