You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible/modules/cloud/docker
Victor Beresnev 2e94affde6 If cmd and entrypoint not set, don't match them
Hello!
I wanted stop the containers matched only by image name, but can't do this, if I not set cmd in playbook.
This behavior confused me.

If cmd or entrypoint is defined for running container, but not defined in playbook, makes matching behavior as this sample:
https://github.com/ansible/ansible-modules-core/blob/devel/cloud/docker/docker.py#L463
9 years ago
..
__init__.py added __init__.py to new cloud subcategories so builds work again 9 years ago
docker.py If cmd and entrypoint not set, don't match them 9 years ago
docker_image.py update docker_image's path param type to 'path'. Fixes #3175 9 years ago