You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the guide to enable the Podman socket and exporting the environment variables, an error occurs when starting quarkus dev.
I found that it is necessary to prepend 'unix:' when setting the environment variables.
When executing the following command, the startup proceeds without issues: export DOCKER_HOST=$(podman info --format 'unix:{{.Host.RemoteSocket.Path}}')
Expected behavior
Testcontainers can be used with quarkus dev without any errors occurring.
Actual behavior
The following error occurs, causing the startup of quarkus dev to fail.
I have removed the PATH from the logs.
2024-05-22 15:27:25,334 INFO [org.tes.doc.DockerMachineClientProviderStrategy] (build-55) docker-machine executable was not found on PATH ([...])
2024-05-22 15:27:25,341 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-55) Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
EnvironmentAndSystemPropertyClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "String.hashCode()" because "<local5>" is null)
UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)
DockerDesktopClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "java.nio.file.Path.toString()" because the return value of "org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy.getSocketPath()" is null)As no valid configuration was found, execution cannot continue.
See https://java.testcontainers.org/on_failure.html for more details.
2024-05-22 15:27:25,334 INFO [org.tes.doc.DockerMachineClientProviderStrategy] (build-55) docker-machine executable was not found on PATH ([...])
2024-05-22 15:27:25,341 ERROR [org.tes.doc.DockerClientProviderStrategy] (build-55) Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
EnvironmentAndSystemPropertyClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "String.hashCode()" because "<local5>" is null)
UnixSocketClientProviderStrategy: failed with exception InvalidConfigurationException (Could not find unix domain socket). Root cause NoSuchFileException (/var/run/docker.sock)
DockerDesktopClientProviderStrategy: failed with exception NullPointerException (Cannot invoke "java.nio.file.Path.toString()" because the return value of "org.testcontainers.dockerclient.DockerDesktopClientProviderStrategy.getSocketPath()" is null)As no valid configuration was found, execution cannot continue.
See https://java.testcontainers.org/on_failure.html for more details.
2024-05-22 15:27:25,366 WARN [io.qua.dep.IsDockerWorking] (build-55) Unable to parse DOCKER_HOST URI /run/user/1000/podman/podman.sock, it will be ignored for working Docker detection
How to Reproduce?
No response
Output of uname -a or ver
No response
Output of java -version
21
Quarkus version or git rev
3.10.1
Build tool (ie. output of mvnw --version or gradlew --version)
Gradle 8.7
Additional information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
After following the guide to enable the Podman socket and exporting the environment variables, an error occurs when starting
quarkus dev
.I found that it is necessary to prepend 'unix:' when setting the environment variables.
When executing the following command, the startup proceeds without issues:
export DOCKER_HOST=$(podman info --format 'unix:{{.Host.RemoteSocket.Path}}')
Expected behavior
Testcontainers can be used with quarkus dev without any errors occurring.
Actual behavior
The following error occurs, causing the startup of quarkus dev to fail.
I have removed the PATH from the logs.
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
21
Quarkus version or git rev
3.10.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.7
Additional information
No response
The text was updated successfully, but these errors were encountered: