From 5e02e9cc8972c8798fd223e6b339618b9d4ba795 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 7 Jul 2015 12:17:55 -0600 Subject: [PATCH] website/docs: update for docker restart --- website/docs/source/v2/provisioning/docker.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/docs/source/v2/provisioning/docker.html.md b/website/docs/source/v2/provisioning/docker.html.md index a2c5d8976..0e03ec660 100644 --- a/website/docs/source/v2/provisioning/docker.html.md +++ b/website/docs/source/v2/provisioning/docker.html.md @@ -156,6 +156,9 @@ In addition to the name, the `run` method accepts a set of options, all optional * `daemonize` (boolean) - If true, the "-d" flag is given to `docker run` to daemonize the containers. By default this is true. +* `restart` (string) - The restart policy for the container. Defaults to + "always" + For example, here is how you would configure Docker to run a container with the Vagrant shared directory mounted inside of it: