microsoft / microsoft/vscode-remote-release

Docker buildx volume grows extremely quick - option to disable buildkit?

Open
#11,420 0 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Jan 8, 2026.

containers
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:

Image

Then there are a few containers and images, it's fine that these occupy some space:

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.