mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 12:36:57 +08:00
20 lines
710 B
Markdown
20 lines
710 B
Markdown
# Watchtower
|
|
|
|
A process for automating Docker container base image updates.
|
|
|
|
## 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
|
|
```
|
|
|
|
## Documentation
|
|
The full documentation is available at https://containrrr.dev/watchtower.
|