Terraform: Cannot use docker provider since v0.6.7

Created on 31 Jan 2016  ยท  4Comments  ยท  Source: hashicorp/terraform

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.

bug documentation providedocker

Most helpful comment

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?

All 4 comments

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?

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

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

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

franklinwise picture franklinwise  ยท  3Comments

Seraf picture Seraf  ยท  3Comments

zeninfinity picture zeninfinity  ยท  3Comments

rkulagowski picture rkulagowski  ยท  3Comments

ketzacoatl picture ketzacoatl  ยท  3Comments