quarkiverse / quarkus-authzed-client

An extension for connecting to authzed instances from Quarkus applications
https://docs.authzed.com/reference/api
Apache License 2.0
5 stars 8 forks source link

Support For Podman #91

Open kohli-rahul opened 6 months ago

kohli-rahul commented 6 months ago

Does this library support Podman instead of Docker. I have docker installed on my windows machine but the library is expecting docker daemon. Any config that can resolve this issue.

[error]: Build step io.quarkiverse.authzed.client.deployment.DevServicesAuthzedProcessor#startContainers threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration at io.quarkiverse.authzed.client.deployment.DevServicesAuthzedProcessor.startContainers(DevServicesAuthzedProcessor.java:138) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:864) at io.quarkus.builder.BuildContext.run(BuildContext.java:282) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538) at java.base/java.lang.Thread.run(Thread.java:833) at org.jboss.threads.JBossThread.run(JBossThread.java:501)

kohli-rahul commented 6 months ago

Just realized that the podman machine was not started. On starting the error changed.

2023-12-06 21:33:42,547 WARN  [doc.3.4]] (build-29) Retrying pull for image: testcontainers/ryuk:0.3.4 (22s remaining)
2023-12-06 21:33:42,597 ERROR [com.git.doc.api.asy.ResultCallbackTemplate] (docker-java-stream-257369379) Error during callback: com.github.dockerjava.api.exception.InternalServerErrorException: Status 500: {"progressDetail":{},
"errorDetail":{"message":"initializing source docker://testcontainers/ryuk:0.3.4: pinging container registry registry-1.docker.io: Get \"https://registry-1.docker.io/v2/\": dial tcp: lookup registry-1.docker.io: Temporary failur
e in name resolution"},"error":"initializing source docker://testcontainers/ryuk:0.3.4: pinging container registry registry-1.docker.io: Get \"https://registry-1.docker.io/v2/\": dial tcp: lookup registry-1.docker.io: Temporary 
failure in name resolution"}

        at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:247)
        at org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
        at java.base/java.lang.Thread.run(Thread.java:833)

Do we have any documentation around this to resolve the issue to use podman instead of Docker