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.
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.
Most helpful comment
The Docker package used by the provider (https://github.com/fsouza/go-dockerclient) has the following example:
Can you try if this works for you?