mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-13 21:56:38 +01:00
* Fix docker-compose syntax in quick-start. GH #1105 * use new mkdocs tabs * fix indentation for tabs Co-authored-by: nils måsén <nils@piksel.se>
This commit is contained in:
parent
93ccce8ed2
commit
2fa8a2ad0c
2 changed files with 5 additions and 1 deletions
|
|
@ -45,13 +45,16 @@ and restart it with the same options that were used when it was deployed initial
|
||||||
the following command:
|
the following command:
|
||||||
|
|
||||||
=== "docker run"
|
=== "docker run"
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker run -d \
|
$ docker run -d \
|
||||||
--name watchtower \
|
--name watchtower \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||||
containrrr/watchtower
|
containrrr/watchtower
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "docker-compose.yml"
|
=== "docker-compose.yml"
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@ markdown_extensions:
|
||||||
user: containrrr
|
user: containrrr
|
||||||
repo: watchtower
|
repo: watchtower
|
||||||
- pymdownx.saneheaders
|
- pymdownx.saneheaders
|
||||||
- pymdownx.tabbed
|
- pymdownx.tabbed:
|
||||||
|
alternate_style: true
|
||||||
nav:
|
nav:
|
||||||
- 'Home': 'index.md'
|
- 'Home': 'index.md'
|
||||||
- 'Introduction': 'introduction.md'
|
- 'Introduction': 'introduction.md'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue