1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix unclear documentation for docker container

the docker container module's `exposed_ports` was slightly ambigous.

Use the official Docker documentation to define what an `exposed port`
is.

Resolves: ansible/ansible-modules-core#5303
Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
This commit is contained in:
Daniel Andrei Minca 2016-10-19 00:55:37 +03:00 committed by Matt Clay
parent ed590257a3
commit ca36d232d5

View file

@ -124,7 +124,8 @@ options:
required: false
exposed_ports:
description:
- List of additional container ports to expose for port mappings or links.
- List of additional container ports which informs Docker that the container
listens on the specified network ports at runtime.
If the port is already exposed using EXPOSE in a Dockerfile, it does not
need to be exposed again.
default: null