website/docs: update for docker restart
This commit is contained in:
parent
9c7f666e48
commit
5e02e9cc89
|
@ -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` (boolean) - If true, the "-d" flag is given to `docker run` to
|
||||||
daemonize the containers. By default this is true.
|
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
|
For example, here is how you would configure Docker to run a container
|
||||||
with the Vagrant shared directory mounted inside of it:
|
with the Vagrant shared directory mounted inside of it:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue