Closed ewoks closed 1 month ago
/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel)
@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). It is not just about .exe or the lack thereof.
I will fix it...
Might be related to https://github.com/testcontainers/testcontainers-java/pull/7058. Released yesterday.
@krisgerhard is there some configuration I could set to take advantage of #7058 ? Additional info I wrote is my current workaround, and it might be a hint why isn't working yet
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] (https://github.com/quarkusio/quarkus/issues/16541#issuecomment-1564392605), 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?
quarkus-hibernate-reactive-panache
,quarkus-reactive-pg-client
as well as resteasy reactive extensions, according to the guide 1.2. Add minimal Fruit entity class , inapplication.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