Update docker module documentation for log_options (#317)

* Update docker module documentation for log_options

Add that log_driver must be specified for log_options to take effect

* Update plugins/modules/docker_container.py

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
addisonshelley 2022-03-27 09:30:23 -04:00 committed by GitHub
parent 3c7c496e67
commit 69399d736d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,6 +446,7 @@ options:
description: description:
- Dictionary of options specific to the chosen I(log_driver). - Dictionary of options specific to the chosen I(log_driver).
- See U(https://docs.docker.com/engine/admin/logging/overview/) for details. - See U(https://docs.docker.com/engine/admin/logging/overview/) for details.
- I(log_driver) needs to be specified for I(log_options) to take effect, even if using the default C(json-file) driver.
type: dict type: dict
aliases: aliases:
- log_opt - log_opt