https://github.com/esnet/docker-tooling
Misc tools that can be in your $PATH to make life easier
https://github.com/esnet/docker-tooling
Last synced: 9 months ago
JSON representation
Misc tools that can be in your $PATH to make life easier
- Host: GitHub
- URL: https://github.com/esnet/docker-tooling
- Owner: esnet
- Created: 2019-12-12T18:22:22.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-08-25T14:14:24.000Z (10 months ago)
- Last Synced: 2025-08-25T16:11:42.802Z (10 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 1
- Watchers: 33
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-tooling
Misc tools that can be in your $PATH to make life easier
checkout this project wherever you like then simply add the following line to your .bashrc, .zshrc or whichever shell you use.
```
PATH=$PATH:$HOME/docker-tooling/
```
naturally update the path to match the location of your checkout.
* docker_image_cleanup.sh Will stop all running containers and remove all containers, all volumes and all networks.
* docker_enter.sh will try to find a container matching the argument name and enter the running container
* docker_reset_instance.sh Will remove all state and reset the container back to the original version based on the image.
K8 Tooling:
* k8_enter.sh allows you to enter a bash shell of a running pod assuming the name is unique
ie. A database container once reset will revert back to the original data that came with the image. (Assuming no external volumes are used)