-
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 + Dev Services + Testcontainers not working with podman on macOS #22919
Comments
/cc @stuartwdouglas |
@galderz IIRC, you have used podman with testcontainers, right? |
@geoand You meant to ping someone else? Guillaume? |
Nope, I meant you 😃. I thought you use podman |
Hmmm, don't think I've ever used podman on macos before. IIRC Jason/Stuart did some experiments on that combo but don't know what came out of that. |
There are some podman-related fixes going in as part of #25230. For example, mongo dev services on podman had a case-sensitivity issue. I'm hoping we can also get M1 automated builds going, which will most likely use podman to ensure ongoing compatibility. Here's my podman recipe: Edit
Then run the following
Once the virtual machine restarts, you should be good to run dev services. If you're podman 4.1 or higher, you don't need the the |
(With the recipe above, kafka dev services is working with podman on mac for me. I haven't seen the 'no space' issue, though, so I don't know if it would have fixed that. That feels like another podman setting that maybe needs adjusting? Or perhaps a maven memory config?) |
I'm using Quarkus 3.0.0.CR1 with Podman on Mac, and it works. Wonder if this issue is still relevant with the latest versions |
I agree, I think it's overall-stale. There are issues with some particular dev services, but most paths work. We have (had) a CI build running with podman, and we have documentation on how to run Quarkus with podman on MacOS: https://quarkus.io/guides/podman#macos I'll close. There's another umbrella item, #31253, which is tracking links to issues for the particular scenarios that don't work. |
Describe the bug
Usage of Dev Services in Quarkus on macOS with podman is not successful.
Either the docker daemon and cli is expected
or docker.sock is not available or accessible
or some space issues
Expected behavior
Quarkus with Dev Services working on macOS with podman
Actual behavior
create a SSH tunnel to the sock
export some env variables
2 possible stacktraces
a) no Docker env found
b) no space left
How to Reproduce?
see above
Output of
uname -a
orver
Darwin Haf 20.6.0 Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9) OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Additional information
probably similar issue: #16541
FYI @myfear
The text was updated successfully, but these errors were encountered: