mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-03 20:29:30 -05:00
add basic runtime constraints to docker_container
This commit is contained in:
parent
ecbfb4ef98
commit
7c8e029252
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ The following arguments are supported:
|
|||
* `privileged` - (Optional, bool) Run container in privileged mode.
|
||||
* `publish_all_ports` - (Optional, bool) Publish all ports of the container.
|
||||
* `volumes` - (Optional) See [Volumes](#volumes) below for details.
|
||||
* `memory` - (Optional, int) The memory limit for the container in MBs.
|
||||
* `memory_swap` - (Optional, int) The total memory limit (memory + swap) for the
|
||||
container in MBs.
|
||||
* `cpu_shares` - (Optional, int) CPU shares (relative weight) for the container.
|
||||
|
||||
<a id="ports"></a>
|
||||
## Ports
|
||||
|
|
|
|||
Loading…
Reference in a new issue