Pipeline build failed with Service ‘docker’ exited with exit code: 1 error
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary

Platform: Bitbucket Pipeline Self-hosted Runners - Linux Docker
Solution
Possible causes:
A change in the docker service being used in the Pipeline step
The docker service change could be due to the infrastructure changes in the Pipeline, or a change in the Docker service changes at your end if you are using custom image for the Docker service
Troubleshooting steps:
If you are utilizing a custom Docker image, it is essential to ensure that no recent modifications have been made to the image. You can confirm this by examining the Docker image hash in the Build Setup of the build that recently failed, comparing it to the hash of the build that was functioning correctly earlier.
If you are not using a custom Docker image, it is advisable to investigate whether the Bitbucket Pipeline infrastructure has implemented any recent changes and to review the solutions provided.
Was this helpful?