docker_container: cgroup_parent (#59)

* Document that the Docker SDK for Python is used by the module.

* Allow to specify cgroup_parent for container.
This commit is contained in:
Felix Fontein
2021-01-03 13:30:09 +01:00
committed by GitHub
parent e4b747d788
commit c7a3d9f057
4 changed files with 50 additions and 0 deletions
+6
View File
@@ -111,6 +111,9 @@ notes:
DOCKER_PY_1_DOCUMENTATION = r'''
options: {}
notes:
- This module uses the L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) to
communicate with the Docker daemon.
requirements:
- "Docker SDK for Python: Please note that the L(docker-py,https://pypi.org/project/docker-py/)
Python module has been superseded by L(docker,https://pypi.org/project/docker/)
@@ -127,6 +130,9 @@ requirements:
DOCKER_PY_2_DOCUMENTATION = r'''
options: {}
notes:
- This module uses the L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) to
communicate with the Docker daemon.
requirements:
- "Python >= 2.7"
- "Docker SDK for Python: Please note that the L(docker-py,https://pypi.org/project/docker-py/)