website/docs: update for docker restart

This commit is contained in:
Mitchell Hashimoto 2015-07-07 12:17:55 -06:00
parent 9c7f666e48
commit 5e02e9cc89
1 changed files with 3 additions and 0 deletions

View File

@ -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: