-
Suggestion
-
Resolution: Unresolved
-
None
Issue Summary
The docker cache produced during Docker Build operations is not used in the subsequent steps when BuildKit is enabled.
Expected Results
Pipelines use the previously cached layers produced in docker build when BuildKit is enabled.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
[BCLOUD-22592] Support caching layers produced in Docker BuildKit build
Description |
Original:
h3. Issue Summary
The predefined docker cache used for caching the layers produced during Docker Build operations does not use the cached layers when BuildKit is enabled. The docker cache is successfully generated and uploaded in the initial pipeline. It's downloaded in the next step, but it's not used by docker, which is building all the layers again, even though there was no change in the Dockerfile. h3. Expected Results Pipelines use the previously cached layers produced in Docker Buildkit build h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
New:
h3. Issue Summary
The docker cache produced during Docker Build operations is not used in the subsequent steps when BuildKit is enabled. h3. Expected Results Pipelines use the previously cached layers produced in docker build when BuildKit is enabled. h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
Description |
Original:
h3. Issue Summary
The predefined docker cache used for caching the layers produced during Docker Build operations does not use the cached layers when BuildKit is enabled. The docker cache is successfully generated and uploaded in the initial pipeline. It's downloaded in the next step, but it's not used by docker, which is building all the layers again, event though there was no change in the Dockerfile. h3. Expected Results Pipelines use the previously cached layers produced in Docker Buildkit build h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
New:
h3. Issue Summary
The predefined docker cache used for caching the layers produced during Docker Build operations does not use the cached layers when BuildKit is enabled. The docker cache is successfully generated and uploaded in the initial pipeline. It's downloaded in the next step, but it's not used by docker, which is building all the layers again, even though there was no change in the Dockerfile. h3. Expected Results Pipelines use the previously cached layers produced in Docker Buildkit build h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
Description |
Original:
h3. Issue Summary
The predefined docker cache used for caching the layers produced during Docker Build operations does not cache layers produced when using BuildKit h3. Expected Results Pipelines caches the layers produced in Docker Buildkit build h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
New:
h3. Issue Summary
The predefined docker cache used for caching the layers produced during Docker Build operations does not use the cached layers when BuildKit is enabled. The docker cache is successfully generated and uploaded in the initial pipeline. It's downloaded in the next step, but it's not used by docker, which is building all the layers again, event though there was no change in the Dockerfile. h3. Expected Results Pipelines use the previously cached layers produced in Docker Buildkit build h3. Workaround Currently there is no known workaround for this behavior. A workaround will be added here when available |
This is a must, for my team we discovered that after the docker engine was upgraded on our pipelines, cache stopped working altogether, because BuildKit is the default caching since 2024/2/1.
we contacted the team about this and the solution was to rollback the previously used docker engine. this is fine and all, but must be fixed in order for buildkits to be viable