New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy settings not propagated to docker? #97
Comments
Hi @dkoper, Vagrant-proxyconf checks if docker is installed or not. So if no docker installed, no configuration change. If docker is installed, vagrant-proxyconf configures docker file. So, I think you can get a configured VM when restart your VM. |
Yes! After a Any particular reason you don't add https_proxy entries as well? Are there no secure docker repo's? Also, is there no way for the plugin to query my Vagrantfile, notice the |
Sounds nice that works!
Docker seems to use
It will be a feature request because there is a no special implementation for |
Cheers. I'll create a new issue. |
This is my Vagrant file Now when i run this , it gives me an error |
@kartikgupta0909, Can you give more information? So Please give;
Thank you, |
@otahi env | grep http: |
@kartikgupta0909 Docker 1.5 reminds me #109. Can you try |
@otahi |
@kartikgupta0909 I am sorry that I could not see the log file at that time. I had to asked you this point at the first. It is very important point.
I am checking the log and there is not log for Docker proxy as you said. Vagrant-proxyconf for Docker expect Docker is installed before configuration. If there is no Docker on the VM, vagrant-proxyconf does not configure proxy for Docker. When you reload vagrant with By the way, you mentioned;
If Docker have
Thank you, |
please try again the no_proxy change:
I've the same issue and this was the solution. |
Not sure if this is a feature request or a bug.
I'm behind a corporate proxy, so need http proxy on all Internet connections.
My Vagrantfile includes:
and http_proxy envs are exported on my ubuntu 14 machine. Box is downloaded successfully, docker is successfully provisioned, but when I
vagrant ssh
anddocker pull <img>
, I get aconnection timed out
. When I manually add http_proxy vars to /etc/default/docker andservice docker restart
, docker pull works fine.Isn't vagrant-proxyconf supposed to set it for me automatically? If not, how can I configure it to do so?
I'm using vagrant-proxyconf 1.4.0 and latest vagrant.
The text was updated successfully, but these errors were encountered: