diff --git a/docs/index.md b/docs/index.md index ef234eca4..80ff86c33 100644 --- a/docs/index.md +++ b/docs/index.md @@ -45,18 +45,21 @@ and restart it with the same options that were used when it was deployed initial the following command: === "docker run" - ```bash - $ docker run -d \ - --name watchtower \ - -v /var/run/docker.sock:/var/run/docker.sock \ - containrrr/watchtower - ``` + + ```bash + $ 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 - ``` + + ```yaml + version: "3" + services: + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock + ```