Complete Docker BuildKit Support

XMLWordPrintable

    • 4

      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=0" however some buildkit features (such as the build cache) cannot be disabled.

      Steps to Reproduce

      For docker-compose:

      1. 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

              Assignee:
              Unassigned
              Reporter:
              Norbert Csupka (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: