Details
-
Suggestion
-
Resolution: Unresolved
-
None
Description
Issue Summary
Starting on Feb 2nd, Docker service was upgraded from 20.10.24 to 25.0.2, but after the upgrade, some builds may fail.
With the 25.0.2 upgrade, buildkit is now enabled by default in the docker daemon. Buildkit can be partially disabled by setting the variable "DOCKER_BUIDKIT=1" however some buildkit features (such as the build cache) cannot be disabled.
Steps to Reproduce
For docker-compose:
- Execute a docker compose v2 build
Expected Results
- Build is successful
Actual Results
- Build fails with the following error
ERROR: Error response from daemon: authorization denied by plugin pipelines: --privileged=true is not allowed
Workaround
Follow recommendation from this page: Recent docker service upgrade in Bitbucket Pipelines