Docker vs podman

159 views
Skip to first unread message

Rostislav Svoboda

unread,
Nov 8, 2019, 8:42:08 AM11/8/19
to Quarkus Development mailing list
Hi.

I played a bit with Quarkus QS on RHEL 8 because of issues we hit on RHEL 8 and testcontainers when preparing for microprofile testcoverage with WF/EAP.

tl;dr: testcontainers do not support podman

Fedora and RHEL8 are using podman, Quarkus supports podman for building native image.
On the other hand Quarkus tests and Quarkus Quickstarts require Docker.

Any plans to support podman more ?


Details:

testcontainers message:


Quarkus QS on RHEL 8 reality:
./mvnw clean verify -Dquarkus.http.test-port=8083 -fae
(failures because of docker not being present, port had to be changed because of 8081 occupied by https://restraint.readthedocs.io/en/latest/using.html )


Rostislav

Emmanuel Bernard

unread,
Nov 8, 2019, 8:49:36 AM11/8/19
to rsvo...@redhat.com, Quarkus Development mailing list
We would need to propose a PR for test containers I suppose and hope they would see it not too intrusive. 

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/44B3F714-F7AE-46A6-97D4-38CB323A1CAD%40redhat.com.

Max Rydahl Andersen

unread,
Nov 8, 2019, 9:00:03 AM11/8/19
to Rostislav Svoboda, Quarkus Development mailing list

Yes, I started exploring using podman in our quickstarts when I bumped into podman not (yet) working on windows and OSX
thus I stopped that work as that excludes me and probably ~80% of the developer ecosystem :)

Instead I started working with podman guys on how we can make podman more accessible or at least document a reasonable
way to get it working on windows/osx before moving our quickstarts to use/work with podman. That work is still ongoing.

That said, if anyone have a linux machine and time I think it would be great to get podman usage documented even if
it will only work easily on Linux machines initially.

/max
https://xam.dk/about

--

Sanne Grinovero

unread,
Nov 8, 2019, 9:22:13 AM11/8/19
to Max Andersen, rsvo...@redhat.com, Quarkus Development mailing list
FYI I've been using podman for a while now, and so have others on my team, and it's really nice. Not a single issue with all existing Docker containers and just a better experience to use it.

Would love to see our stuff to support it better; testcontainers trying to reach the daemon is the only problem I know about.

Thanks


Screenshot 2019-11-08 at 14.33.55.png
Screenshot 2019-11-08 at 14.35.36.png

Charles Moulliard

unread,
Nov 19, 2019, 5:35:39 AM11/19/19
to sanne.g...@gmail.com, Max Andersen, rsvo...@redhat.com, Quarkus Development mailing list
For mac users, you can use podman-machine to launch a Linux VM and next use podman: https://github.com/boot2podman/machine

Max Rydahl Andersen

unread,
Nov 19, 2019, 6:22:07 AM11/19/19
to Charles Moulliard, sanne.g...@gmail.com, rsvo...@redhat.com, Quarkus Development mailing list
On 19 Nov 2019, at 11:34, Charles Moulliard wrote:

> For mac users, you can use podman-machine to launch a Linux VM and
> next use
> podman: https://github.com/boot2podman/machine

That it is also supposed to work on windows.

But it didn't work for me last time I tried - did you succeed in making
it work ?

/max
>>> Quarkus QS on RHEL 8 reality:
>>> ./mvnw clean verify -Dquarkus.http.test-port=8083 -fae
>>> (failures because of docker not being present, port had to be
>>> changed
>>> because of 8081 occupied by
>>> https://restraint.readthedocs.io/en/latest/using.html )
>>>
>>>
>>> Rostislav
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups
>>> "Quarkus Development mailing list" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>> email to quarkus-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/quarkus-dev/44B3F714-F7AE-46A6-97D4-38CB323A1CAD%40redhat.com
>>> <https://groups.google.com/d/msgid/quarkus-dev/44B3F714-F7AE-46A6-97D4-38CB323A1CAD%40redhat.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups
>>> "Quarkus Development mailing list" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an
>>> email to quarkus-dev...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/quarkus-dev/61275FE0-45BC-4342-8213-F36CB677F1C1%40redhat.com
>>> <https://groups.google.com/d/msgid/quarkus-dev/61275FE0-45BC-4342-8213-F36CB677F1C1%40redhat.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "Quarkus Development mailing list" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an
>> email to quarkus-dev...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/quarkus-dev/CAFm4XO1%2B7izxA58uarQ4ju9MK-YVRR_6skHBDRR8AFnwD5RyLg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/quarkus-dev/CAFm4XO1%2B7izxA58uarQ4ju9MK-YVRR_6skHBDRR8AFnwD5RyLg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>


Ruddy32

unread,
Apr 26, 2020, 4:41:11 PM4/26/20
to Quarkus Development mailing list
Hi
Since podman provide a docker compatible API, it might be possible to use TestContainers with podman.
Podman service is installed under my linux laptop and TestContainer cannot launch container. The process does not have right to call podman API. Is there something to configure in podman to allow non root connection?
Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.

Peter Palaga

unread,
Apr 27, 2020, 3:48:39 AM4/27/20
to quark...@googlegroups.com
On 26/04/2020 22:41, Ruddy32 wrote:
> Hi
> Since podman provide a docker compatible API, it might be possible to
> use TestContainers with podman.
> Podman service is installed under my linux laptop and TestContainer
> cannot launch container. The process does not have right to call podman
> API. Is there something to configure in podman to allow non root connection?

Here is the Testcontainers on Podman issue:
https://github.com/testcontainers/testcontainers-java/issues/2088
Although some progress was logged recently, the issue is still open, so
it is probably too early to expect a 100% smooth experience. Anyway, the
people active in the issue might know the answer to your question. -- P


> Thanks.
>
> Le vendredi 8 novembre 2019 15:22:13 UTC+1, Sanne Grinovero a écrit :
>
> FYI I've been using podman for a while now, and so have others on my
> team, and it's really nice. Not a single issue with all existing
> Docker containers and just a better experience to use it.
>
> Would love to see our stuff to support it better; testcontainers
> trying to reach the daemon is the only problem I know about.
>
> Thanks
>
>
> On Fri, 8 Nov 2019, 14:00 Max Rydahl Andersen, <mand...@redhat.com
> <javascript:>> wrote:
>
> __
> Quarkus QS on RHEL 8 reality:
> ./mvnw clean verify -Dquarkus.http.test-port=8083 -fae
> (failures because of docker not being present, port had to
> be changed because of 8081 occupied by
> https://restraint.readthedocs.io/en/latest/using.html
> <https://restraint.readthedocs.io/en/latest/using.html> )
>
>
> Rostislav
>
> --
> You received this message because you are subscribed to the
> Google Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to quark...@googlegroups.com
> <javascript:>.
> <https://groups.google.com/d/msgid/quarkus-dev/44B3F714-F7AE-46A6-97D4-38CB323A1CAD%40redhat.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the
> Google Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to quark...@googlegroups.com <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/61275FE0-45BC-4342-8213-F36CB677F1C1%40redhat.com
> <https://groups.google.com/d/msgid/quarkus-dev/61275FE0-45BC-4342-8213-F36CB677F1C1%40redhat.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to quarkus-dev...@googlegroups.com
> <mailto:quarkus-dev...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/quarkus-dev/dc3af38b-4796-4a07-ba53-5179964765c7%40googlegroups.com
> <https://groups.google.com/d/msgid/quarkus-dev/dc3af38b-4796-4a07-ba53-5179964765c7%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages