Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Docker Compose: "authorization denied by plugin pipelines: --mounts is not allowed"

Kieran Hardwick
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2025

This is a docker compose script running 3 containers on BitBucket pipelines cloud runner

I'm seeing this error on my pipeline when using a Docker compose. I've seen posts already online about using -v instead of -mount when adding a volume, for example: 

https://support.atlassian.com/bitbucket-cloud/kb/docker-error-authorization-denied-by-plugin-pipelines-command-not-supported/

 

But, because I'm using a compose script I'm just adding the volumes like so:

volumes:
- ./aspnetapp.pfx:/https/aspnetapp.pfx

 

Is there a way to fix this in Docker compose?

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2025

G'day, @Kieran Hardwick 

Welcome to the community!

What is your docker compose version? If it's version 2.29.3++ then I believe then it's expected as we don't support docker v27 yet. We have a feature request on this that is currently tracked at

Support Docker v27 in Bitbucket Pipelines 

The workaround is to downgrade to docker compose <= v2.29.2

Let me know how it goes.

Regards,
Syahrul

Suggest an answer

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

Atlassian Community Events