mirror of https://github.com/docker/docker-py.git
Allow extra_hosts to be a list too
The current map syntax does not allow the API equivalent of
--add-host foo:1.1.1.1 --add-host foo:2.2.2.2
The above will map one hostname to two IPs. The above is valid in Docker.
This commit is contained in:
parent
7b2fd8cf5e
commit
fb2b7078eb