Update docker_container.py (#42370)

`docker-py` is no longer a thing.

https://github.com/docker/docker-py/issues/1431
pull/42376/head
rcgoodfellow 6 years ago committed by Sam Doran
parent 82b050e6b8
commit e3478e0da5

@ -96,7 +96,7 @@ options:
description: description:
- Path to a file containing environment variables I(FOO=BAR). - Path to a file containing environment variables I(FOO=BAR).
- If variable also present in C(env), then C(env) value will override. - If variable also present in C(env), then C(env) value will override.
- Requires docker-py >= 1.4.0. - Requires docker >= 1.4.0.
entrypoint: entrypoint:
description: description:
- Command that overwrites the default ENTRYPOINT of the image. - Command that overwrites the default ENTRYPOINT of the image.
@ -421,7 +421,7 @@ author:
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"
- "docker-py >= 1.7.0" - "docker >= 1.7.0"
- "Docker API >= 1.20" - "Docker API >= 1.20"
''' '''
@ -617,7 +617,7 @@ try:
else: else:
from docker.utils.types import Ulimit, LogConfig from docker.utils.types import Ulimit, LogConfig
except: except:
# missing docker-py handled in ansible.module_utils.docker # missing docker handled in ansible.module_utils.docker
pass pass

Loading…
Cancel
Save