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

Support For Podman #91

Open
kohli-rahul opened this issue Dec 6, 2023 · 1 comment
Open

Support For Podman #91

kohli-rahul opened this issue Dec 6, 2023 · 1 comment

Comments

@kohli-rahul
Copy link
Contributor

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
Copy link
Contributor Author

kohli-rahul commented Dec 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant