A collection of my personal docker shell scripts.
- Download the zipball or clone the project
- Make sure that the scripts are one folder above your project root.
Note: All scripts assume that there is a container called web in the project.
container.sh CONTAINER_ID- returns the container ID by its namedeploy.sh- builds and deploys containers through docker-composeexec.sh CONTAINER_NAME COMMAND- executes a command inside a containergc.sh- removes all stopped containers and dangling imagesip.sh CONTAINER_NAME- retruns the IP address for a containerrm.sh CONTAINER_NAME- removes a specific containerrmi.sh IMAGE_NAME- removes a specific image