From 8ac6ad52a1df36e2c3ebc4dfe1ae27c9eac43863 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 5 Jan 2022 13:35:27 +0100 Subject: [PATCH] Added cap_add to the documentation for capabilities for easier search (#265) (#268) * added cap_add to the documentation for capabilities for easier search comming from docker * added equivalent syntax for docker cli and compose to capabilities docs * added equivalent syntax for docker cli and compose to capabilities docs (cherry picked from commit 15ab747d864d907674d7d6d9ad5d509705e807cb) Co-authored-by: Richard James Acton --- plugins/modules/docker_container.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/modules/docker_container.py b/plugins/modules/docker_container.py index 8be35415..d3ab6816 100644 --- a/plugins/modules/docker_container.py +++ b/plugins/modules/docker_container.py @@ -45,6 +45,7 @@ options: capabilities: description: - List of capabilities to add to the container. + - This is equivalent to C(docker run --cap-add), or the docker-compose option C(cap_add). type: list elements: str cap_drop: