add docker exec script
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

This commit is contained in:
2024-09-17 11:28:31 +10:00
parent b12a09de0c
commit 7f394c94ea
4 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# 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>
```

3
docs/docker/index.md Normal file
View File

@ -0,0 +1,3 @@
# Docker Snippets and Musings
#### [Exec Into Container](./exec-into-container.md)