From b36b6d2c8687da51dc473c63d3c85c64800db868 Mon Sep 17 00:00:00 2001 From: Wadim Kruse Date: Tue, 6 Feb 2018 18:02:36 +0100 Subject: [PATCH] Fix restart policy description (#5927) --- compose/compose-file/compose-file-v2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index 9f192e7591..8e0e5c62f3 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -1179,7 +1179,7 @@ then read-write is used. ### restart -`no` is the default restart policy, and it does 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. +`no` is the default restart policy, and it doesn't 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. - restart: no - restart: always