Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Local runner: docker not found when running multiple steps or pipelines in parallel

Hannes Kuchelmeister May 3, 2023

Hi,

on my local runner I face an issue when running either parallel pipeline steps (see image) or multiple pipelines in parallel. All steps but one that use docker end up returning bash: docker: command not found.

Screenshot 2023-05-03 112620.png

I was able to create a pipeline that reproduces the issue:

image: python:3.8.5-buster

clone:
lfs: true

pipelines:
custom:
custom-debug-pipeline:
- parallel:
- step:
runs-on:
- 'self.hosted'
- 'linux.shell'
clone:
enabled: false
script:
- echo "$PATH"
- docker container ls
- docker image ls
- step:
runs-on:
- 'self.hosted'
- 'linux.shell'
clone:
enabled: false
script:
- echo "$PATH"
- docker container ls
- docker image ls

 How can I solve this?

1 answer

1 accepted

0 votes
Answer accepted
Hannes Kuchelmeister May 3, 2023

I found the issue myself. I had two runners tagged like this but only the non-HIL runner had docker installed.

Screenshot 2023-05-03 112620.png

I fixed it by tagging the docker runner with an additional docker tag

Screenshot 2023-05-03 133543.png

and then updating all pipeline steps that require docker to be using:

  runs-on: 
- 'self.hosted'
- 'linux.shell'
- 'docker'

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events