Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23126

Complete Docker BuildKit Support

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    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:

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ncsupka Norbert C
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: