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

Must expose Docker daemon without TLS to work on Windows #231

Closed
jakauppila opened this issue Apr 26, 2021 · 1 comment
Closed

Must expose Docker daemon without TLS to work on Windows #231

jakauppila opened this issue Apr 26, 2021 · 1 comment

Comments

@jakauppila
Copy link
Contributor

👻 Brief Description

Dokken does not work on Windows for me unless I expose the Docker daemon without TLS

image

Version

Cinc Workstation version: 21.4.365
Cinc Client version: 16.12.3
Cinc Auditor version: 4.29.3
Cinc CLI version: 4.0.0
Biome version: unknown
Test Kitchen version: 2.11.2
Cookstyle version: 7.10.0

Environment

Windows 10 1909

Scenario

Attempting to utilize Dokken to test cookbooks on Windows.

Steps

Initially, attempting to perform a kitchen list I encounter #183

kitchen-dokken could not connect to the docker host at tcp://127.0.0.1:2375. Is docker running?

If I set $env:DOCKER_HOST='tcp://127.0.0.1:2375', I get past the previous error, but hit a connection timeout

https://gist.github.com/jakauppila/038f07ba6d362a0d95188bf2d6fe1d3f

If I go into the Docker for Windows settings and check the Expose daemon on tcp://localhost:2375 without TLS box and Apply and Restart

Now it works:

Instance          Driver  Provisioner  Verifier  Transport  Last Action  Last Error
tomcat-centos-7   Dokken  Dokken       Inspec    Dokken     Converged    <None>
javasvc-centos-7  Dokken  Dokken       Inspec    Dokken     Converged    <None>
@jakauppila
Copy link
Contributor Author

This is called out in #137, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant