mirror of https://github.com/ansible/ansible.git
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/#cmdpull/19187/head
parent
f8e47e2204
commit
f5fd32eae6
Loading…
Reference in New Issue