docker-py
docker-py copied to clipboard
fix extra_hosts in documentation
Please, specify format extra_hosts in section "run container" in documentation, Dict format is uncomfortable, because key is hostname, but we can have multiply networks in container, and with dict it imposiible, but i had read docker documentation and try to write ['foo:127.0.102.43', 'bar:23.43.54.1'], result is successful! I had try with any iterable object of the form ['hostname: ip_addr' for item in items] and it works! I think that it needs to be documented, thank you
Also works for me