I am attempting to run Docker Compose on Bitbucket Pipeline, and I came across this code on Stack Overflow (https://stackoverflow.com/questions/72744395/how-to-use-docker-compose-v2-in-bitbucket-pipelines) that seems promising. However, upon running it, I encounter the following error:
<span>Error</span> response <span>from</span> daemon: authorization denied <span>by</span> plugin pipelines: --privileged=<span>true</span> <span>is</span> <span>not</span> allowed
In my search for a solution, I came across this Atlassian Confluence page: https://confluence.atlassian.com/bbkb/docker-buildkit-error-in-pipelines-when-deploying-to-google-cloud-1235859715.html
Unfortunately, the suggested solution provided on the Confluence page did not resolve the issue. Even after adding the line:
<span>export</span> PATH=/usr/bin:<span>$PATH</span>
I observed no changes. Additionally, altering the DOCKER_BUILDKIT variable did not work with my Docker Compose in version 24.
Is there any functional example of Docker Compose in Bitbucket Pipeline that you can recommend? I appreciate any assistance you can provide.