mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
Documentation updates (#936)
* Update private-registries.md
* docs: fix codecov branch
* docs: clarify monitor and add head fail warning
* docs: remove unsupported features
* docs: add date format note and fix typo
* docs: 🌈
* docs: fix auto-format errors and linting
* docs: fix auto-format errors and linting
This commit is contained in:
parent
cc3ff5a588
commit
26dbc64b35
10 changed files with 210 additions and 153 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<img alt="Circle CI" src="https://circleci.com/gh/containrrr/watchtower.svg?style=shield" />
|
||||
</a>
|
||||
<a href="https://codecov.io/gh/containrrr/watchtower">
|
||||
<img alt="Codecov" src="https://codecov.io/gh/containrrr/watchtower/branch/master/graph/badge.svg?token=8pxWgB380Y">
|
||||
<img alt="Codecov" src="https://codecov.io/gh/containrrr/watchtower/branch/main/graph/badge.svg">
|
||||
</a>
|
||||
<a href="https://godoc.org/github.com/containrrr/watchtower">
|
||||
<img alt="GoDoc" src="https://godoc.org/github.com/containrrr/watchtower?status.svg" />
|
||||
|
|
@ -42,11 +42,21 @@
|
|||
|
||||
## 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:
|
||||
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"
|
||||
```bash $ docker run -d \
|
||||
--name watchtower \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower
|
||||
```
|
||||
$ docker run -d \
|
||||
--name watchtower \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower
|
||||
```
|
||||
=== "docker-compose.yml"
|
||||
```yaml version: "3"
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue