mongrelion / ansible-role-docker

Ansible role for installing Docker
MIT License
62 stars 39 forks source link

Support for proxy in docker daemon is missing #25

Closed ageekymonk closed 6 years ago

ageekymonk commented 6 years ago

Hi,

If proxy needs to be configured for docker daemon, it is not supported in the daemon.json file. It has to be in the /etc/systemd/system/docker.service.d/http-proxy.conf.

FYI https://docs.docker.com/engine/admin/systemd/#httphttps-proxy Thanks

mongrelion commented 6 years ago

@ageekymonk do you think that you can submit a PR for this?

ageekymonk commented 6 years ago

sure. Is it okay if i add docker_http_proxy , docker_https_proxy, and docker_no_proxy as variable name to be passed in ?

mongrelion commented 6 years ago

Sounds good to me!