community.general/lib/ansible/modules/cloud/docker
Andrew Shewmaker f5fd32eae6 docker_container: do not split command on commas (#24900)
* docker_container: do not split command on commas

Fix issue #24430

* docker_container: document command parameter

Prior behavior was strange, splitting strings on commas
only to join them again ... replacing commas with spaces.

FYI, docker-py accepts strings or lists, using shlex.split
on strings ... splitting on spaces while respecting things
like quotes.

https://github.com/docker/docker-py/blob/master/docker/api/container.py
https://github.com/docker/docker-py/blob/master/docker/types/containers.py
https://github.com/docker/docker-py/blob/master/docker/utils/utils.py

More info regarding Dockerfile syntax for CMD strings and lists
can be found at https://docs.docker.com/engine/reference/builder/#cmd
2017-05-22 15:39:57 -07:00
..
__init__.py added __init__.py to new cloud subcategories so builds work again 2016-12-08 11:22:25 -05:00
_docker.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
docker_container.py docker_container: do not split command on commas (#24900) 2017-05-22 15:39:57 -07:00
docker_image.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
docker_image_facts.py Changed supported_by from curated to community (#22654) 2017-03-15 14:28:33 -07:00
docker_login.py Changed supported_by from curated to community (#22654) 2017-03-15 14:28:33 -07:00
docker_network.py Rename fact returned by docker_network to avoid restricted prefix (#23919) 2017-04-28 08:45:53 -05:00
docker_service.py Changed supported_by from curated to community (#22654) 2017-03-15 14:28:33 -07:00