Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-3217

Warning when docker is not running and not needed

    XMLWordPrintable

Details

    • +
    • ---

    Description

      Quarkus 2.13.8 introduces warning when docker is not running and not needed

      It's a regression comparing to Quarkus 2.13.7.

      There is upstream issue https://github.com/quarkusio/quarkus/issues/31662 for Quarkus 2.16.4+

      One of the backports to 2.13.8 introduced this regression also into 2.13 stream

      2023-06-15 08:41:30,556 WARN  [io.qua.run.uti.ContainerRuntimeUtil] (main) Command "docker" exited with error code 1. Rootless container runtime detection might not be reliable.

      This warning is shown in dev and test modes, production is not affected by this regression. Thus marking a Critical.

      Upstream fix was done as part of https://github.com/quarkusio/quarkus/pull/31490

      This PR handles several things and I'm not sure if only one commit would be back-portable, CC gsmet@redhat.com. I think we should ask mbabacek1@redhat.com to prepare dedicated patch for 2.13 branch, wdyt?

       

      Simplified reproducer:

       - download sample app from https://code.quarkus.io/?S=io.quarkus.platform%3A2.13

       - Make sure Docker / Podman is not running

       - Execute "mvn clean package"

      Attachments

        Activity

          People

            gsmet@redhat.com Guillaume Smet
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: