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

rancher-desktop: Could not find a valid Docker environment. Please see logs and check configuration #4783

Closed
automationman666 opened this issue Dec 15, 2021 · 2 comments

Comments

@automationman666
Copy link

DockerClientProviderStrategy.java is unable to locate the docker environment when using rancher-desktop.

Any suggestions on how this can be fixed? or does it require an enhancement?

@bsideup
Copy link
Member

bsideup commented Dec 15, 2021

Last time we checked, Rancher Desktop did not expose Docker API. To run Testcontainers, you need to have Docker API available, either with Docker or alternatives to it (such as Podman).

There is nothing to fix in Testcontainers. Once/if Rancher Desktop adds support for Docker API, you should be able to point Testcontainers to it.

Also see https://www.atomicjar.com/2021/10/docker-on-windows-and-macos/

@bsideup bsideup closed this as completed Dec 15, 2021
@eddumelendez
Copy link
Member

There is Rancher Desktop section that has been added about how to set up Testcontainers.

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

No branches or pull requests

3 participants