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

Specifying docker_host_url does not work #321

Open
tomhughes opened this issue Apr 2, 2024 · 0 comments · May be fixed by #323
Open

Specifying docker_host_url does not work #321

tomhughes opened this issue Apr 2, 2024 · 0 comments · May be fixed by #323

Comments

@tomhughes
Copy link
Contributor

👻 Brief Description

Specifying docker_host_url in the configuration does not work because dokken still tries to connect to the default docker and errors our when that fails.

Version

kitchen-dokken 2.20.3

Environment

Fedora 39

Scenario

Trying to use a user podman instance as the docker implementation.

Steps to Reproduce

Specify the URL as follows:

driver:
  name: dokken
  docker_host_url: unix:///run/user/1000/podman/podman.sock

Expected Result

It works.

Actual Result

It errors out trying to make a TCP connection to docker:

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

➕ Additional context

The code at

default_config :docker_info, docker_info
causes docker_info to be called which tries to make a connection to default_docker_host which errors out.

tomhughes added a commit to tomhughes/kitchen-dokken that referenced this issue Apr 2, 2024
Fixes test-kitchen#321 Specifying docker_host_url does not work

Signed-off-by: Tom Hughes <tom@compton.nu>
tomhughes added a commit to tomhughes/kitchen-dokken that referenced this issue Apr 2, 2024
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

Successfully merging a pull request may close this issue.

1 participant