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

Could not find a valid Docker environment #19687

Closed
vanuatoo opened this issue Aug 26, 2021 · 4 comments
Closed

Could not find a valid Docker environment #19687

vanuatoo opened this issue Aug 26, 2021 · 4 comments
Labels
area/devservices kind/bug Something isn't working triage/duplicate This issue or pull request already exists

Comments

@vanuatoo
Copy link

vanuatoo commented Aug 26, 2021

  1. Created starter project with the generated template from code.quarkus.io
  2. Added following dependency to pom.xml
  <groupId>io.quarkus</groupId>
  <artifactId>quarkus-jdbc-postgresql</artifactId>
</dependency>
  1. When running ./mvnw quarkus:dev the system complains:

2021-08-26 15:30:27,195 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-26) Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
2021-08-26 15:30:27,196 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-26) EnvironmentAndSystemPropertyClientProviderStrategy: failed with exception TimeoutException (Timeout waiting for result with exception). Root cause LastErrorException ([2] No such file or directory)
2021-08-26 15:30:27,196 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-26) UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause AccessDeniedException (/var/run/docker.sock)
2021-08-26 15:30:27,197 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-26) As no valid configuration was found, execution cannot continue
2021-08-26 15:30:27,201 ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.IllegalStateException: Could not find a valid Docker environment. Please see logs and check configuration

The system is RHEL 8.4 on x64 which has podman installed

@famod famod added area/devservices kind/bug Something isn't working triage/duplicate This issue or pull request already exists and removed triage/needs-triage labels Aug 26, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Aug 26, 2021

/cc @stuartwdouglas

@famod
Copy link
Member

famod commented Aug 26, 2021

Thanks for reporting. This is actually a duplicate of #16541.

@geoand
Copy link
Contributor

geoand commented Aug 26, 2021

Let's close in favor of #16541

@geoand geoand closed this as completed Aug 26, 2021
@famod
Copy link
Member

famod commented Aug 26, 2021

Let's close in favor of #16541

You're too fast! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devservices kind/bug Something isn't working triage/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants