Skip to content
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

Cannot use docker provider since v0.6.7 #4923

Closed
lvjp opened this issue Jan 31, 2016 · 4 comments
Closed

Cannot use docker provider since v0.6.7 #4923

lvjp opened this issue Jan 31, 2016 · 4 comments

Comments

@lvjp
Copy link
Contributor

lvjp commented Jan 31, 2016

Docker provider cannot connect to my docker since v0.6.7
It was working fine until v0.6.6

I up some log in a gist.

I also remark that i can find connect(7, {sa_family=AF_LOCAL, sun_path="/var/run/docker.sock"}, 23) = 0 in v0.6.7 but not in v0.6.10.

If you need more log file, just ask me.

@superseb
Copy link
Contributor

superseb commented Feb 1, 2016

The Docker package used by the provider (https://github.com/fsouza/go-dockerclient) has the following example:

    endpoint := "unix:///var/run/docker.sock"

Can you try if this works for you?

@lvjp
Copy link
Contributor Author

lvjp commented Feb 1, 2016

Thanks @superseb,

This solve my problem. I check it from v0.6.6 to v0.6.10 of terraform.

Maybe it will be a good idea to change host default value since the official Docker daemon documentation also said that default socket point to unix:///var/run/docker.sock

@superseb
Copy link
Contributor

superseb commented Feb 1, 2016

Yep, that would be useful. Are you going to submit a PR for this?

stack72 added a commit that referenced this issue Feb 11, 2016
Change default DOCKER_HOST value, fixes #4923
joshmyers pushed a commit to joshmyers/terraform that referenced this issue Feb 18, 2016
bigkraig pushed a commit to bigkraig/terraform that referenced this issue Mar 1, 2016
@ghost
Copy link

ghost commented Apr 28, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants