You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: Implement labels for docker config
Based on #543 from @jani123
* feat: Implements timeouts for docker_container
Thanks to PR #777 from @Strafo
* chore: Fix spelling mistakes
Thanks to #588 from @vszabo2
Copy file name to clipboardExpand all lines: docs/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ provider "docker" {
57
57
}
58
58
```
59
59
60
-
When using a remote host, the daemon configuration on the remote host can apply default configuration to your resources when running `terraform apply`, for example by appling log options to containers. When running `terraform plan` the next time, it will show up as a diff. In such cases it is recommended to use the `ignore_changes` lifecycle meta-argument to ignore the changing attribute (See [this issue](https://github.com/kreuzwerker/terraform-provider-docker/issues/473) for more information).
60
+
When using a remote host, the daemon configuration on the remote host can apply default configuration to your resources when running `terraform apply`, for example by applying log options to containers. When running `terraform plan` the next time, it will show up as a diff. In such cases it is recommended to use the `ignore_changes` lifecycle meta-argument to ignore the changing attribute (See [this issue](https://github.com/kreuzwerker/terraform-provider-docker/issues/473) for more information).
61
61
62
62
## Disabling Docker Daemon Checking
63
63
@@ -110,7 +110,7 @@ When passing in a config file either the corresponding `auth` string of the repo
110
110
used to retrieve the authentication credentials.
111
111
112
112
-> **Note**
113
-
`config_file` has predence over all other options. You can theoretically specify values for every attribute but the credentials obtained through the `config_file` will override the manually set `username`/`password`
113
+
`config_file` has precedence over all other options. You can theoretically specify values for every attribute but the credentials obtained through the `config_file` will override the manually set `username`/`password`
114
114
115
115
You can still use the environment variables `DOCKER_REGISTRY_USER` and `DOCKER_REGISTRY_PASS`.
-`attach` (Boolean) If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`.
39
-
-`capabilities` (Block Set, Max: 1) Add or drop certrain linux capabilities. (see [below for nested schema](#nestedblock--capabilities))
39
+
-`capabilities` (Block Set, Max: 1) Add or drop certain linux capabilities. (see [below for nested schema](#nestedblock--capabilities))
40
40
-`cgroup_parent` (String) Optional parent cgroup for the container
41
41
-`cgroupns_mode` (String) Cgroup namespace mode to use for the container. Possible values are: `private`, `host`.
42
42
-`command` (List of String) The command to use to start the container. For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-f","baz.conf"]`.
-`stop_timeout` (Number) Timeout (in seconds) to stop a container.
91
91
-`storage_opts` (Map of String) Key/value pairs for the storage driver options, e.g. `size`: `120G`
92
92
-`sysctls` (Map of String) A map of kernel parameters (sysctls) to set in the container.
93
+
-`timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
93
94
-`tmpfs` (Map of String) A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options.
94
95
-`tty` (Boolean) If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`.
95
96
-`ulimit` (Block Set) Ulimit options to add. (see [below for nested schema](#nestedblock--ulimit))
96
97
-`upload` (Block Set) Specifies files to upload to the container before starting it. Only one of `content` or `content_base64` can be set and at least one of them has to be set. (see [below for nested schema](#nestedblock--upload))
97
-
-`user` (String) User used for run the first process. Format is `user` or `user:group` which user and group can be passed literraly or by name.
98
+
-`user` (String) User used for run the first process. Format is `user` or `user:group` which user and group can be passed literally or by name.
98
99
-`userns_mode` (String) Sets the usernamespace mode for the container when usernamespace remapping option is enabled.
99
100
-`volumes` (Block Set) Spec for mounting volumes in the container. (see [below for nested schema](#nestedblock--volumes))
100
101
-`wait` (Boolean) If `true`, then the Docker container is waited for being healthy state after creation. This requires your container to have a healthcheck, otherwise this provider will error. If `false`, then the container health state is not checked. Defaults to `false`.
@@ -249,6 +250,16 @@ Optional:
249
250
-`protocol` (String) Protocol that can be used over this port. Defaults to `tcp`.
Copy file name to clipboardExpand all lines: docs/resources/service.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -599,7 +599,7 @@ Optional:
599
599
600
600
Optional:
601
601
602
-
-`memory_bytes` (Number) The amounf of memory in bytes the container allocates
602
+
-`memory_bytes` (Number) The amount of memory in bytes the container allocates
603
603
-`nano_cpus` (Number) CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`
604
604
605
605
@@ -609,7 +609,7 @@ Optional:
609
609
Optional:
610
610
611
611
-`generic_resources` (Block List, Max: 1) User-defined resources can be either Integer resources (e.g, `SSD=3`) or String resources (e.g, GPU=UUID1) (see [below for nested schema](#nestedblock--task_spec--resources--reservation--generic_resources))
612
-
-`memory_bytes` (Number) The amounf of memory in bytes the container allocates
612
+
-`memory_bytes` (Number) The amount of memory in bytes the container allocates
613
613
-`nano_cpus` (Number) CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`
0 commit comments