-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Quarkus 3.1.0.CR1 can't find a valid Docker env despite valid podman 4.2.0 #33637
Comments
@gsmet I was preparing a blogpost about Podman for Windows. Then I wanted to test with Podman Desktop and contemporary Quarkus and it doesn't work plus it shows different things in different terminals (suspect color control symbols). I will fix it... |
Might be related to testcontainers/testcontainers-java#7058. |
@krisgerhard is there some configuration I could set to take advantage of #7058 ? |
I think the Podman story has been greatly improved in the past year. Let's close this one. |
Describe the bug
When using Podman, Quarkus
3.1.0.CR1
(as well as3.0.3.Final
and older versions) has difficulties to find container engine environment necessary for DevServices (auto activated when no DB url and credentials are provided inapplication.properties
). Alias for docker works, but it isn`t helpful neither.This is basically the same as [Issue 16541] (#16541 (comment)), but newly tested and reproduced with Quarkus
3.1.0.CR1
, reporting as new per @geoand recommendation.Expected behavior
When the Podman exists in the $PATH and works without issues on the host OS,
mvn quarkus:dev
command should be able to use the podman for DevServices (e.g. to start a Postgresql container).Actual behavior
Error:
How to Reproduce?
1.1. Create new Quarkus project using
quarkus-hibernate-reactive-panache
,quarkus-reactive-pg-client
as well as resteasy reactive extensions, according to the guide1.2. Add minimal Fruit entity class , in
application.properties
addquarkus.datasource.db-kind=postgresql
, and save, as advised in the guidemvn quarkus:dev
from the project root will cause the error from aboveOutput of
uname -a
orver
CSB RHEL: 4.18.0-425.19.2.el8_7.x86_64
Output of
java -version
17.0.7-tem
GraalVM version (if different from Java)
~/.sdkman/candidates/java/22.3.0.1.r17-mandrel/
Quarkus version or git rev
3.1.0.CR1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
Additional information
Podman 4.2.0 is installed and working without issues on this host.
Current workaround as previously described by @vanuatoo
The text was updated successfully, but these errors were encountered: