mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-26 01:29:36 -05:00
restart policy support for docker_container
This commit is contained in:
parent
a398fce15b
commit
ecbfb4ef98
1 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ The following arguments are supported:
|
|||
connectivity between containers that are running on the same host.
|
||||
* `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".
|
||||
* `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
|
||||
kept running. If false, then as long as the container exists, Terraform
|
||||
assumes it is successful.
|
||||
|
|
|
|||
Loading…
Reference in a new issue