mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
Merge pull request #14834 from chouseknecht/docker_one
Updating docker_container module proposal
This commit is contained in:
commit
d60f0c94f8
1 changed files with 11 additions and 15 deletions
|
@ -96,8 +96,8 @@ entrypoint:
|
||||||
|
|
||||||
etc_hosts:
|
etc_hosts:
|
||||||
description:
|
description:
|
||||||
- List of custom host-to-IP mappings, with each mapping in the format C(host:ip), to be
|
- Dict of host-to-IP mappings, where each host name is key in the dictionary. Hostname will be added to the
|
||||||
added to the container's /etc/hosts file.
|
container's /etc/hosts file.
|
||||||
default: null
|
default: null
|
||||||
|
|
||||||
exposed_ports:
|
exposed_ports:
|
||||||
|
@ -135,16 +135,6 @@ interactive:
|
||||||
- Keep stdin open after a container is launched, even if not attached.
|
- Keep stdin open after a container is launched, even if not attached.
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
ip_address:
|
|
||||||
description:
|
|
||||||
- Container IPv4 address.
|
|
||||||
default: null
|
|
||||||
|
|
||||||
ipv6_address:
|
|
||||||
description:
|
|
||||||
- Container IPv6 address.
|
|
||||||
default: null
|
|
||||||
|
|
||||||
ipc_mode:
|
ipc_mode:
|
||||||
description:
|
description:
|
||||||
- Set the IPC mode for the container. Can be one of
|
- Set the IPC mode for the container. Can be one of
|
||||||
|
@ -175,7 +165,7 @@ labels:
|
||||||
|
|
||||||
links:
|
links:
|
||||||
description:
|
description:
|
||||||
- List of name aliases for linked containers in the format C(redis:myredis)
|
- List of name aliases for linked containers in the format C(container_name:alias)
|
||||||
default: null
|
default: null
|
||||||
|
|
||||||
log_driver:
|
log_driver:
|
||||||
|
@ -242,6 +232,12 @@ network_mode:
|
||||||
- none
|
- none
|
||||||
default: null
|
default: null
|
||||||
|
|
||||||
|
networks:
|
||||||
|
description:
|
||||||
|
- Dictionary of networks to which the container will be connected. The dictionary must have a name key (the name of the network).
|
||||||
|
Optional keys include: aliases (a list of container aliases), and links (a list of links in the format C(container_name:alias)).
|
||||||
|
default: null
|
||||||
|
|
||||||
oom_killer:
|
oom_killer:
|
||||||
desription:
|
desription:
|
||||||
- Whether or not to disable OOM Killer for the container.
|
- Whether or not to disable OOM Killer for the container.
|
||||||
|
@ -363,9 +359,9 @@ tty:
|
||||||
- Allocate a psuedo-TTY.
|
- Allocate a psuedo-TTY.
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
ulimit:
|
ulimits:
|
||||||
description:
|
description:
|
||||||
- List of ulimit options. A ulimit is specified as C(nofile=262144:262144)
|
- List of ulimit options. A ulimit is specified as C(nofile:262144:262144)
|
||||||
default: null
|
default: null
|
||||||
|
|
||||||
user:
|
user:
|
Loading…
Add table
Add a link
Reference in a new issue