- docker_restart.sh
- Can be used for other use cases besides a docker container
- Checks the modifed time, or most recent time the file was edited, and compares to current time.
- If the time difference is more that 5 minutes, or 300 seconds, then it will call
docker-compose restart -f $PATH - Is helpful if you want to automate restarting a container that is known to hang
greerjl/scripts
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|