microsoft / microsoft/vscode-remote-release
Docker buildx volume grows extremely quick - option to disable buildkit?
@chrmarti is already working on this.
Since Jan 8, 2026.
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I'm using Podman 5.7.1 on Windows to run my devcontainers. After re-creating 2 devcontainers with rather large base images (~5 GB), I saw a massive increase of space needed by the WSL ext4.vhdx file, which grew to 150 GB in just two days.
Over a third of the space is utilized by the buildx_buildkit_default_state volume:
Then there are a few containers and images, it's fine that these occupy some space:
So the key question is: what can I do to not use buildkit? I'm perfectly fine with using the "traditional" caching methods. Buildkit on Podman feels doubled anyways.
Buildkit seems to be used by the vscode bootstrap image to build a Dockerfile, which I need to do when building my devcontainer.
Thanks :)
- VSCode Version: 1.107.1
- Local OS Version: Windows 11
- Remote OS Version: Ubuntu 24.04
- Remote Extension/Connection Type: Dev Containers
- Logs: no logs, just screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.