mirror of https://github.com/docker/docs.git
There were a number of things wrong with the `restart` definition 1. The volumes note came after the restart section rather than before 2. The restart command used array notation rather than map. This is confusing to those unfamiliar with yaml and inconsistent with the rest of the documentation 3. Using `docker-compose` myself, saying `restart: no` does not work, but `restart: "no"` does. ``` ERROR: The Compose file './docker-compose.override.yml' is invalid because: services.letsencrypt.restart contains an invalid type, it should be a string ``` |
||
---|---|---|
.. | ||
compose-file-v1.md | ||
compose-file-v2.md | ||
compose-versioning.md | ||
index.md |