From b07f61578442266cfd33cdfc4e170982efa5d816 Mon Sep 17 00:00:00 2001 From: John Yani Date: Sat, 29 Apr 2017 00:46:11 +0300 Subject: [PATCH] Wrong order of docker compose restart section (#3093) --- compose/compose-file/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index 2f9644963e..5520a7bc44 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -1184,6 +1184,11 @@ volumes: target: /opt/app/static ``` +> **Note:** The long syntax is new in v3.2 + +See [Docker Volumes](/engine/userguide/dockervolumes.md) and +[Volume Plugins](/engine/extend/plugins_volume.md) for more information. + ### restart `no` is the default restart policy, and it will not restart a container under any circumstance. When `always` is specified, the container always restarts. The `on-failure` policy restarts a container if the exit code indicates an on-failure error. @@ -1192,11 +1197,6 @@ volumes: - restart: always - restart: on-failure -> **Note:** The long syntax is new in v3.2 - -See [Docker Volumes](/engine/userguide/dockervolumes.md) and -[Volume Plugins](/engine/extend/plugins_volume.md) for more information. - ### domainname, hostname, ipc, mac\_address, privileged, read\_only, shm\_size, stdin\_open, tty, user, working\_dir Each of these is a single value, analogous to its