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

Podman support in docker-maven-plugin #6947

Closed
zakkak opened this issue Jul 13, 2020 · 12 comments
Closed

Podman support in docker-maven-plugin #6947

zakkak opened this issue Jul 13, 2020 · 12 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue

Comments

@zakkak
Copy link

zakkak commented Jul 13, 2020

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature

Description

Judging by the discussion in fabric8io/docker-maven-plugin#1330, I would expect docker-maven-plugin to work with podman >=2. However trying it with quarkus results in error.

Steps to reproduce the issue:

  1. `git clone --depth 1 https://github.com/quarkusio/quarkus.git

  2. mvn -e -DskipDocs -DskipTests -Dno-format -Ddocker verify

Describe the results you received:

[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.31.0:stop (docker-start) on project quarkus-reactive-pg-client-deployment: Execution docker-start of goal io.fabric8:docker-maven-plugin:0.31.0:stop failed: No <dockerHost> given, no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock' or '//./pipe/docker_engine' and no external provider like Docker machine configured -> [Help 1]

Describe the results you expected:

It shouldn't error and proceed with the build and tests.

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

podman version 2.0.2

Output of podman info --debug:

host:
  arch: amd64
  buildahVersion: 1.15.0
  cgroupVersion: v2
  conmon:
    package: conmon-2.0.18-1.fc32.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.18, commit: 6e8799f576f11f902cd8a8d8b45b2b2caf636a85'
  cpus: 8
  distribution:
    distribution: fedora
    version: "32"
  eventLogger: file
  hostname: slimhat
  idMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  kernel: 5.6.19-300.fc32.x86_64
  linkmode: dynamic
  memFree: 7492251648
  memTotal: 33440378880
  ociRuntime:
    name: crun
    package: crun-0.14.1-1.fc32.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 0.14.1
      commit: 598ea5e192ca12d4f6378217d3ab1415efeddefa
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  os: linux
  remoteSocket:
    path: /run/user/1000/podman/podman.sock
  rootless: true
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.1.1-1.fc32.x86_64
    version: |-
      slirp4netns version 1.1.1
      commit: bbf27c5acd4356edb97fa639b4e15e0cd56a39d5
      libslirp: 4.2.0
      SLIRP_CONFIG_VERSION_MAX: 2
  swapFree: 8582574080
  swapTotal: 8589930496
  uptime: 289h 35m 33.76s (Approximately 12.04 days)
registries:
  search:
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - registry.centos.org
  - docker.io
store:
  configFile: /home/zakkak/.config/containers/storage.conf
  containerStore:
    number: 9
    paused: 0
    running: 0
    stopped: 9
  graphDriverName: overlay
  graphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-1.1.1-1.fc32.x86_64
      Version: |-
        fusermount3 version: 3.9.1
        fuse-overlayfs: version 1.1.0
        FUSE library version 3.9.1
        using FUSE kernel interface version 7.31
  graphRoot: /home/zakkak/.local/share/containers/storage
  graphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  imageStore:
    number: 50
  runRoot: /run/user/1000/containers
  volumePath: /home/zakkak/.local/share/containers/storage/volumes
version:
  APIVersion: 1
  Built: 0
  BuiltTime: Thu Jan  1 02:00:00 1970
  GitCommit: ""
  GoVersion: go1.14.3
  OsArch: linux/amd64
  Version: 2.0.2

Package info (e.g. output of rpm -q podman or apt list podman):

podman-2.0.2-1.fc32.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):

Physical, Fedora 32

@openshift-ci-robot openshift-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 13, 2020
@vrothberg vrothberg self-assigned this Jul 13, 2020
@vrothberg
Copy link
Member

no DOCKER_HOST environment variable, no read/writable '/var/run/docker.sock'

This error message suggests that the plugin needs to be pointed to the podman socket via DOCKER_HOST:

  • 'unix:/run/user/1000/podman/podman.sock' for UID 1000
  • 'unix:/run/podman/podman.sock' for root

Alternatively, you could start podman with podman system service -t0 unix:///var/run/docker.sock'.

Does that resolve your issue?

@zakkak
Copy link
Author

zakkak commented Jul 13, 2020

Starting the podman service with podman service -t0 and setting DOCKER_HOST to unix:/run/user/1000/podman/podman.sock' did make it work up to a point.

Now I am getting:

[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.31.0:start (docker-start) on project quarkus-integration-test-hibernate-reactive-postgresql: Execution docker-start of goal io.fabric8:docker-maven-plugin:0.31.0:start failed: Cannot watch on port 5432, since there is no network binding

Maven command used for the above:

mvn -e -pl integration-tests/hibernate-reactive-postgresql -DskipDocs -DskipTests -Dno-format -Ddocker verify

@mheon
Copy link
Member

mheon commented Jul 13, 2020

Having the HTTP requests that Maven is trying to make would help greatly here.

@zakkak
Copy link
Author

zakkak commented Jul 13, 2020

@mheon how do I get those?

Running with -X gives:

[INFO] --- docker-maven-plugin:0.31.0:start (docker-start) @ quarkus-integration-test-hibernate-reactive-postgresql ---
[DEBUG] Configuring mojo io.fabric8:docker-maven-plugin:0.31.0:start from plugin realm ClassRealm[plugin>io.fabric8:docker-maven-plugin:0.31.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@5c29bfd]
[DEBUG] Configuring mojo 'io.fabric8:docker-maven-plugin:0.31.0:start' with basic configurator -->
[DEBUG]   (f) autoCreateCustomNetworks = false
[DEBUG]   (f) execution = io.fabric8:docker-maven-plugin:0.31.0:start {execution: docker-start}
[DEBUG]   (s) name = postgres:10.5
[DEBUG]   (f) alias = postgresql
[DEBUG]   (f) env = {POSTGRES_DB=hibernate_orm_test, POSTGRES_PASSWORD=hibernate_orm_test, POSTGRES_USER=hibernate_orm_test}
[DEBUG]   (f) ports = [5431:5432]
[DEBUG]   (f) mode = mapped
[DEBUG]   (f) ports = [5432]
[DEBUG]   (f) tcp = io.fabric8.maven.docker.config.WaitConfiguration$TcpConfiguration@221ef0f0
[DEBUG]   (f) time = 10000
[DEBUG]   (f) wait = io.fabric8.maven.docker.config.WaitConfiguration@34ad750f
[DEBUG]   (f) run = io.fabric8.maven.docker.config.RunImageConfiguration@2a5917f6
[DEBUG]   (f) images = [ImageConfiguration {name='postgres:10.5', alias='postgresql'}]
[DEBUG]   (f) keepContainer = false
[DEBUG]   (f) logStdout = false
[DEBUG]   (f) maxConnections = 100
[DEBUG]   (f) project = MavenProject: io.quarkus:quarkus-integration-test-hibernate-reactive-postgresql:999-SNAPSHOT @ /home/zakkak/code/quarkus/integration-tests/hibernate-reactive-postgresql/pom.xml
[DEBUG]   (f) removeVolumes = false
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@7aaad0
[DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@4cd90c36
[DEBUG]   (f) skip = false
[DEBUG]   (f) skipExtendedAuth = false
[DEBUG]   (f) skipMachine = false
[DEBUG]   (f) skipRun = false
[DEBUG]   (f) startParallel = false
[DEBUG]   (f) useColor = true
[DEBUG] -- end configuration --
[DEBUG] DOCKER> Container create config: {"Image":"postgres:10.5","ExposedPorts":{"5432/tcp":{}},"Env":["POSTGRES_USER=hibernate_orm_test","POSTGRES_PASSWORD=hibernate_orm_test","POSTGRES_DB=hibernate_orm_test"],"Labels":{"dmp.coordinates":"io.quarkus:quarkus-integration-test-hibernate-reactive-postgresql:999-SNAPSHOT"},"HostConfig":{"PortBindings":{"5432/tcp":[{"HostPort":"5431"}]}}}
[INFO] DOCKER> [postgres:10.5] "postgresql": Start container a764fa0070db
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[DEBUG] DOCKER> shutdown will wait max of 0 seconds before removing container
[INFO] DOCKER> [postgres:10.5] "postgresql": Stop and removed container a764fa0070db after 0 ms

@mheon
Copy link
Member

mheon commented Jul 13, 2020

Debug level logs (--log-level=debug) from the server will also help

@zakkak
Copy link
Author

zakkak commented Jul 13, 2020

Appending output from podman --log-level=debug system service -t3600:

DEBU[0016] IdleTracker 0xc00058e000:new 0/0 connection(s) 
DEBU[0016] IdleTracker 0xc00058e000:active 1/1 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /version      
WARN[0016] Failed to retrieve program version for /usr/bin/slirp4netns: <nil> 
DEBU[0016] Loading registries configuration "/etc/containers/registries.conf" 
DEBU[0016] IdleTracker 0xc00058e000:idle 1/2 connection(s) 
DEBU[0016] IdleTracker 0xc00058e000:closed 0/2 connection(s) 
DEBU[0016] IdleTracker 0xc000118d00:new 0/2 connection(s) 
DEBU[0016] IdleTracker 0xc000118d00:active 1/3 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /version      
WARN[0016] Failed to retrieve program version for /usr/bin/slirp4netns: <nil> 
DEBU[0016] IdleTracker 0xc000118d00:idle 1/4 connection(s) 
DEBU[0016] IdleTracker 0xc000118d00:active 0/4 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /v1.18/containers/json?all=1 
DEBU[0016] IdleTracker 0xc000118d00:idle 1/5 connection(s) 
DEBU[0016] IdleTracker 0xc000118d00:closed 0/5 connection(s) 
DEBU[0016] IdleTracker 0xc00063e4b0:new 0/5 connection(s) 
DEBU[0016] IdleTracker 0xc00063e4b0:active 1/6 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /version      
WARN[0016] Failed to retrieve program version for /usr/bin/slirp4netns: <nil> 
DEBU[0016] IdleTracker 0xc00063e4b0:idle 1/7 connection(s) 
DEBU[0016] IdleTracker 0xc00063e4b0:closed 0/7 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:new 0/7 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 1/8 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /v1.18/images/postgres%3A10.5/json 
DEBU[0016] parsed reference into "[overlay@/home/zakkak/.local/share/containers/storage+/run/user/1000/containers:overlay.mount_program=/usr/bin/fuse-overlayfs]docker.io/library/postgres:10.5" 
DEBU[0016] parsed reference into "[overlay@/home/zakkak/.local/share/containers/storage+/run/user/1000/containers:overlay.mount_program=/usr/bin/fuse-overlayfs]@3fce051f5a48aed47979bdb0ed4b3d0d205f32bc577c758f0158871c761a639b" 
DEBU[0016] exporting opaque data as blob "sha256:3fce051f5a48aed47979bdb0ed4b3d0d205f32bc577c758f0158871c761a639b" 
DEBU[0016] IdleTracker 0xc000530438:idle 1/9 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/9 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /version      
WARN[0016] Failed to retrieve program version for /usr/bin/slirp4netns: <nil> 
DEBU[0016] IdleTracker 0xc000530438:idle 1/10 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/10 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /v1.18/containers/json?all=1 
DEBU[0016] IdleTracker 0xc000530438:idle 1/11 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/11 connection(s) 
DEBU[0016] APIHandler -- Method: POST URL: /v1.18/containers/create?name=postgres-1 
DEBU[0016] parsed reference into "[overlay@/home/zakkak/.local/share/containers/storage+/run/user/1000/containers:overlay.mount_program=/usr/bin/fuse-overlayfs]docker.io/library/postgres:10.5" 
DEBU[0016] Using user defined netmode                   
DEBU[0016] No hostname set; container's hostname will default to runtime default 
DEBU[0016] Loading default seccomp profile              
DEBU[0016] setting container name postgres-1            
DEBU[0016] created OCI spec and options for new container 
DEBU[0016] Allocated lock 0 for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] parsed reference into "[overlay@/home/zakkak/.local/share/containers/storage+/run/user/1000/containers:overlay.mount_program=/usr/bin/fuse-overlayfs]@3fce051f5a48aed47979bdb0ed4b3d0d205f32bc577c758f0158871c761a639b" 
DEBU[0016] exporting opaque data as blob "sha256:3fce051f5a48aed47979bdb0ed4b3d0d205f32bc577c758f0158871c761a639b" 
DEBU[0016] created container "088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18" 
DEBU[0016] container "088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18" has work directory "/home/zakkak/.local/share/containers/storage/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata" 
DEBU[0016] container "088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18" has run directory "/run/user/1000/containers/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata" 
DEBU[0016] IdleTracker 0xc000530438:idle 1/12 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/12 connection(s) 
DEBU[0016] APIHandler -- Method: POST URL: /v1.18/containers/088174e963c3/start 
DEBU[0016] Made network namespace at /run/user/1000/netns/cni-839227d9-d80d-82cc-d5ca-b6fb40c8e2f9 for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] overlay: mount_data=lowerdir=/home/zakkak/.local/share/containers/storage/overlay/l/57FGEAVWNWURUX2TCZU3I2KTVT:/home/zakkak/.local/share/containers/storage/overlay/l/24FKFE5L2XV3KM5IHZGGCMPYDA:/home/zakkak/.local/share/containers/storage/overlay/l/EK4F52ABRDWRI4XKX2EZ4TF7RA:/home/zakkak/.local/share/containers/storage/overlay/l/SQG743PGKUMXLKRGO2RBCYS73G:/home/zakkak/.local/share/containers/storage/overlay/l/ZGQ5NXXQSADP5TN7XRW4AEKKDQ:/home/zakkak/.local/share/containers/storage/overlay/l/BL3MOIYNGZCQU3OQCUXHIZ5VEM:/home/zakkak/.local/share/containers/storage/overlay/l/PZLLIUQBH4R7N27SPOMEBPC6HN:/home/zakkak/.local/share/containers/storage/overlay/l/V3C34GPUV2FLFGVBHXDTRM2XBF:/home/zakkak/.local/share/containers/storage/overlay/l/NL3UXAB4MNVAUYJXVHPITOGHT4:/home/zakkak/.local/share/containers/storage/overlay/l/NRV24J5AOELQQOLW4SOAJXYE6T:/home/zakkak/.local/share/containers/storage/overlay/l/WB4EPZRP3GPGLU3POO65TUGT25:/home/zakkak/.local/share/containers/storage/overlay/l/5HU7NSQ6YBJ7UVJ4C4JK72ZBGQ:/home/zakkak/.local/share/containers/storage/overlay/l/UYX6PBDY735NT5IOZ5IDHMMI2T:/home/zakkak/.local/share/containers/storage/overlay/l/R7CEX4KPKV77PZIXTRKYDYAI2P,upperdir=/home/zakkak/.local/share/containers/storage/overlay/b6b4175491da9cb436a5ffc8225e1902f367af78f626255619fc24f9416d5b08/diff,workdir=/home/zakkak/.local/share/containers/storage/overlay/b6b4175491da9cb436a5ffc8225e1902f367af78f626255619fc24f9416d5b08/work,context="system_u:object_r:container_file_t:s0:c839,c936" 
DEBU[0016] mounted container "088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18" at "/home/zakkak/.local/share/containers/storage/overlay/b6b4175491da9cb436a5ffc8225e1902f367af78f626255619fc24f9416d5b08/merged" 
DEBU[0016] Created root filesystem for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 at /home/zakkak/.local/share/containers/storage/overlay/b6b4175491da9cb436a5ffc8225e1902f367af78f626255619fc24f9416d5b08/merged 
DEBU[0016] /etc/system-fips does not exist on host, not mounting FIPS mode secret 
DEBU[0016] Setting CGroups for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 to user.slice:libpod:088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] reading hooks from /usr/share/containers/oci/hooks.d 
DEBU[0016] Created OCI spec for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 at /home/zakkak/.local/share/containers/storage/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata/config.json 
DEBU[0016] /usr/bin/conmon messages will be logged to syslog 
DEBU[0016] running conmon: /usr/bin/conmon               args="[--api-version 1 -c 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 -u 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 -r /usr/bin/crun -b /home/zakkak/.local/share/containers/storage/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata -p /run/user/1000/containers/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata/pidfile -n postgres-1 --exit-dir /run/user/1000/libpod/tmp/exits --socket-dir-path /run/user/1000/libpod/tmp/socket -s -l k8s-file:/home/zakkak/.local/share/containers/storage/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata/ctr.log --log-level debug --syslog --conmon-pidfile /run/user/1000/containers/overlay-containers/088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18/userdata/conmon.pid --exit-command /usr/bin/podman --exit-command-arg --root --exit-command-arg /home/zakkak/.local/share/containers/storage --exit-command-arg --runroot --exit-command-arg /run/user/1000/containers --exit-command-arg --log-level --exit-command-arg debug --exit-command-arg --cgroup-manager --exit-command-arg systemd --exit-command-arg --tmpdir --exit-command-arg /run/user/1000/libpod/tmp --exit-command-arg --runtime --exit-command-arg /usr/bin/crun --exit-command-arg --storage-driver --exit-command-arg overlay --exit-command-arg --storage-opt --exit-command-arg overlay.mount_program=/usr/bin/fuse-overlayfs --exit-command-arg --events-backend --exit-command-arg file --exit-command-arg container --exit-command-arg cleanup --exit-command-arg 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18]"
INFO[0016] Running conmon under slice user.slice and unitName libpod-conmon-088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18.scope 
[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied

DEBU[0016] Received: 1151406                            
INFO[0016] Got Conmon PID as 1151403                    
DEBU[0016] Created container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 in OCI runtime 
DEBU[0016] Starting container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 with command [] 
DEBU[0016] Started container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] IdleTracker 0xc000530438:idle 1/13 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/13 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /v1.18/containers/088174e963c3/json 
DEBU[0016] IdleTracker 0xc000530438:idle 1/14 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/14 connection(s) 
DEBU[0016] APIHandler -- Method: GET URL: /v1.18/containers/088174e963c3/json 
DEBU[0016] IdleTracker 0xc000530438:idle 1/15 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/15 connection(s) 
DEBU[0016] APIHandler -- Method: POST URL: /v1.18/containers/088174e963c3/stop 
DEBU[0016] IdleTracker 0xc000530438:idle 1/16 connection(s) 
DEBU[0016] IdleTracker 0xc000530438:active 0/16 connection(s) 
DEBU[0016] APIHandler -- Method: DELETE URL: /v1.18/containers/088174e963c3?v=0 
DEBU[0016] Removing container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] Removing all exec sessions for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] Cleaning up container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] Tearing down network namespace at /run/user/1000/netns/cni-839227d9-d80d-82cc-d5ca-b6fb40c8e2f9 for container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] Successfully cleaned up container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 
DEBU[0016] unmounted container "088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18" 
DEBU[0016] Container 088174e963c305109ac15e8def5889a46d01600304abe518273c26ccfb562c18 storage is already unmounted, skipping... 
DEBU[0016] IdleTracker 0xc000530438:idle 1/17 connection(s) 
DEBU[0017] IdleTracker 0xc000530438:closed 0/17 connection(s)

@mheon
Copy link
Member

mheon commented Jul 13, 2020

I don't know where the Maven error message (Cannot watch on port 5432, since there is no network binding) is coming from, but it's not Podman - it's no where in our repo. Maybe the app in the container?

Also, the version of the Docker API it's using is ancient - we are supporting v1.40, with best-effort support back to v1.24; it's requesting v1.18.

@zakkak
Copy link
Author

zakkak commented Jul 13, 2020

I suspect that the reason it uses 1.18 is because GET /version fails (see https://github.com/fabric8io/docker-maven-plugin/blob/0098a49865cfc09af2b6dc0261c0f9150539d52a/src/main/java/io/fabric8/maven/docker/access/hc/DockerAccessWithHcClient.java#L791)

DEBU[0016] APIHandler -- Method: GET URL: /version      
WARN[0016] Failed to retrieve program version for /usr/bin/slirp4netns: <nil>

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Aug 13, 2020

I don't see us fixing this until Maven updates to a newer version of the Docker API.

@rhatdan rhatdan closed this as completed Aug 13, 2020
@Sanne
Copy link

Sanne commented Jan 6, 2021

This is working great now:

Many thanks to all

@rhatdan
Copy link
Member

rhatdan commented Jan 6, 2021

That is great.

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. stale-issue
Projects
None yet
Development

No branches or pull requests

6 participants