From efd02020a299387f7a2f9e31b5550cf7a3bcfb0f Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Sun, 6 Mar 2016 11:28:54 -0500 Subject: [PATCH] Updating docker_container module proposal --- ..._moduler.md => docker_container_module.md} | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) rename docs/proposals/docker/{docker_container_moduler.md => docker_container_module.md} (96%) diff --git a/docs/proposals/docker/docker_container_moduler.md b/docs/proposals/docker/docker_container_module.md similarity index 96% rename from docs/proposals/docker/docker_container_moduler.md rename to docs/proposals/docker/docker_container_module.md index 4b826ad5d13..886b510482b 100644 --- a/docs/proposals/docker/docker_container_moduler.md +++ b/docs/proposals/docker/docker_container_module.md @@ -96,8 +96,8 @@ entrypoint: etc_hosts: description: - - List of custom host-to-IP mappings, with each mapping in the format C(host:ip), to be - added to the container's /etc/hosts file. + - Dict of host-to-IP mappings, where each host name is key in the dictionary. Hostname will be added to the + container's /etc/hosts file. default: null exposed_ports: @@ -135,16 +135,6 @@ interactive: - Keep stdin open after a container is launched, even if not attached. default: false -ip_address: - description: - - Container IPv4 address. - default: null - -ipv6_address: - description: - - Container IPv6 address. - default: null - ipc_mode: description: - Set the IPC mode for the container. Can be one of @@ -175,7 +165,7 @@ labels: links: 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 log_driver: @@ -242,6 +232,12 @@ network_mode: - none 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: desription: - Whether or not to disable OOM Killer for the container. @@ -363,9 +359,9 @@ tty: - Allocate a psuedo-TTY. default: false -ulimit: +ulimits: 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 user: