mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
Prefer long flags in quick start example (#1029)
`--detach` is clearer (to a new Docker user) than `-d`. Similarly `--volume` is clearer than `-v`. Motivation: https://changelog.com/posts/use-long-flags-when-scripting Referred to: https://docs.docker.com/engine/reference/commandline/run/
This commit is contained in:
parent
0060cd6ee4
commit
cb4e60cffd
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ With watchtower you can update the running version of your containerized app sim
|
|||
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 -d \
|
||||
$ docker run --detach \
|
||||
--name watchtower \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue