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:
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?
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.