Skip to content

Conversation

@norio-nomura
Copy link
Contributor

@norio-nomura norio-nomura commented Sep 2, 2025

To support building multi-platform images.
Use --set .param.containerdSnapshotter=false flag to disable it.

#3858 (comment)

https://docs.docker.com/desktop/features/containerd/

The containerd image store is enabled by default in Docker Desktop version 4.34 and later, but only for clean installs or if you perform a factory reset.

4.34 was released on 2024-08-29
https://docs.docker.com/desktop/release-notes/#4340

edit: remove "To support...", and "Use ..."

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

To support building multi-platform images.

For this purpose, using containerd image store is not necessary, as it is supported by buildx

lima-vm#3858 (comment)
> https://docs.docker.com/desktop/features/containerd/
> > The containerd image store is enabled by default in Docker Desktop version 4.34 and later, but only for clean installs or if you perform a factory reset.
>
> 4.34 was released on 2024-08-29
> https://docs.docker.com/desktop/release-notes/#4340

Signed-off-by: Norio Nomura <[email protected]>
@norio-nomura norio-nomura force-pushed the enable-docker-containerd-snapshotter-by-default branch from e8f3c99 to df1d9b1 Compare September 2, 2025 02:41
@norio-nomura
Copy link
Contributor Author

For this purpose, using containerd image store is not necessary, as it is supported by buildx

Removed those lines from commit message.

@AkihiroSuda AkihiroSuda requested a review from a team September 2, 2025 05:03
@jandubois
Copy link
Member

For this purpose, using containerd image store is not necessary, as it is supported by buildx

I don't think so, how would it even work? AFAIK the "classic" image store doesn't support multi-platform manifests.

And buildx refuse to build for me:

docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag multiarch .
[+] Building 0.0s (0/0)                                                                                    docker:lima-docker
ERROR: failed to build: Multi-platform build is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/build-multi-platform/

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit e0a1b22 into lima-vm:master Sep 2, 2025
62 of 63 checks passed
@AkihiroSuda
Copy link
Member

I don't think so, how would it even work? AFAIK the "classic" image store doesn't support multi-platform manifests.

You can't store multi-platform manifests, but you can still build and push them with a custom buildx instance.
(docker buildx create --use and docker buildx build --push)

@norio-nomura norio-nomura deleted the enable-docker-containerd-snapshotter-by-default branch September 2, 2025 12:24
@norio-nomura
Copy link
Contributor Author

Thanks! 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants