Although, the project says to have GO as a pre-req but having something to catch and check the dependency beforehand helps. Therefore, refactoring the script to add the check first before running to handle the script in a better way. Issue: The script does not check for Go installation before running go build. Fix: Added a dependency check to prevent build failures. |
||
|---|---|---|
| .devbots | ||
| .github | ||
| cmd | ||
| dockerfiles | ||
| docs | ||
| grafana | ||
| internal | ||
| pkg | ||
| prometheus | ||
| scripts | ||
| tplprev | ||
| .all-contributorsrc | ||
| .codacy.yml | ||
| .editorconfig | ||
| .gitignore | ||
| build.sh | ||
| code_of_conduct.md | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| docs-requirements.txt | ||
| go.mod | ||
| go.sum | ||
| gopher-watchtower.png | ||
| goreleaser.yml | ||
| LICENSE.md | ||
| logo.png | ||
| main.go | ||
| mkdocs.yml | ||
| oryxBuildBinary | ||
| README.md | ||
| SECURITY.md | ||
Quick Start
With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry.
Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially. Run the watchtower container with the following command:
$ docker run --detach \
--name watchtower \
--volume /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
Watchtower is intended to be used in homelabs, media centers, local dev environments, and similar. We do not recommend using Watchtower in a commercial or production environment. If that is you, you should be looking into using Kubernetes. If that feels like too big a step for you, please look into solutions like MicroK8s and k3s that take away a lot of the toil of running a Kubernetes cluster.
Documentation
The full documentation is available at https://containrrr.dev/watchtower.
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!