I'm trying to set up a CI/CD pipeline using Bitbucket Pipelines. I have a simple yml file that issues a Docker build command. The build command starts correctly with log statements similar to what it looks like when building locally with docker. The docker command hangs indefinitely only failing after the pipeline timeout is exceeded. I tried increasing the memory allocated to the docker service to 8G but the issue persists. I don't believe it should need more memory than that since we are currently using Azure DevOps to build the same Docker image with default settings. I've tried to build two separate Docker files both resulting in the same hanging/timeout error.
Hello @Stephen Poserina and welcome to the Community!
I would like to ask you a few questions to help us investigate the issue you are facing:
This will help us narrow down the issue and provide you with more accurate instructions.
Thank you, @Stephen Poserina !
Patrik S
Hi Patrick
I was able to figure out the problem on my end. I had the yaml hierarchy incorrect. I specified the following to increase memory. This does not cause errors but does not increase the amount of memory provided to the Docker process.
definitions:
docker:
memory: 2048
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.