Skip to content

[Services] in GitLab Runner Docker executor configured with Podman do not start

Summary

When starting tasks, an error appears using old connections for docker, services do not start, but podman networks are created on the host machine

Steps to reproduce

Configuration settings according to the instructions(manual-gitlab), podman rootless operation mode.

.gitlab-ci.yml
end-to-end-tests:
  stage: Test
  image: docker.io/node:16.18
  services:
    - name: docker.io/selenium/standalone-firefox:106.0
    - name: docker.io/postgres:12
  variables:
    POSTGRES_PASSWORD: supersecretpassword
    BACKEND_POSTGRES_HOST: postgres
  script:
    - npm install
    - npm test

Relevant logs and/or screenshots

job log
gitlab

FF_NETWORK_PER_BUILD:true

Environment description

podman version 4.2.0

Proposal

{placeholder for proposal to resolve solution pending analysis}

Edited by Darren Eastman