You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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?
I found the issue myself. I had two runners tagged like this but only the non-HIL runner had docker installed.
I fixed it by tagging the docker runner with an additional docker tag
and then updating all pipeline steps that require docker to be using:
runs-on:
- 'self.hosted'
- 'linux.shell'
- 'docker'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.