mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-01 04:19:36 -05:00
provider/docker: #2417 Add support for restart policy unless-stopped
This commit is contained in:
parent
dd61bc83cf
commit
021bbb2a18
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ The following arguments are supported:
|
|||
* `hostname` - (Optional, string) Hostname of the container.
|
||||
* `domainname` - (Optional, string) Domain name of the container.
|
||||
* `restart` - (Optional, string) The restart policy for the container. Must be
|
||||
one of "no", "on-failure", "always".
|
||||
one of "no", "on-failure", "always", "unless-stopped".
|
||||
* `max_retry_count` - (Optional, int) The maximum amount of times to an attempt
|
||||
a restart when `restart` is set to "on-failure"
|
||||
* `must_run` - (Optional, bool) If true, then the Docker container will be
|
||||
|
|
|
|||
Loading…
Reference in a new issue