ansible/test/lib/ansible_test
Matt Clay 3bd6daa4a4 [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256)
* Fix ansible-test docker container detection.

* Attach test containers to the correct network.

* Do not assume `localhost` for accesing Docker.

* Look for containers on current network.

* Always map /var/run/docker.sock into containers.

This fixes issues when using a remote Docker host.

* Support container IP lookup from networks list.

* Fix container network attachment.

* Remove redundant container detection messages.

* Limit DOCKER_HOST parsing to TCP.

* Restore docker socket existence check.

The check is skipped if the docker hostname is not localhost.

* Correct changelog entry..
(cherry picked from commit 3c2e8b99be)

Co-authored-by: Matt Clay <mclay@redhat.com>
2020-10-22 21:40:23 -07:00
..
_data [tests] Bump container versions (#71518) (#71598) 2020-09-02 14:44:23 -05:00
_internal [stable-2.10] Fix ansible-test handling of user-defined docker networks. (#72256) 2020-10-22 21:40:23 -07:00
config Clean up ansible-test inventory templates. (#60321) 2019-08-09 11:06:21 -07:00
__init__.py