Skip to content

Commit 7810795

Browse files
authored
Merge pull request #24175 from docker/agent/issue-24171
docs: address issue #24171
2 parents c9ebf02 + 64223b2 commit 7810795

1 file changed

Lines changed: 27 additions & 22 deletions

File tree

content/manuals/desktop/features/containerd.md

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,29 @@
11
---
22
title: containerd image store
33
weight: 80
4-
description: How to activate the containerd integration feature in Docker Desktop
4+
description: Learn about the containerd image store in Docker Desktop and how it extends image management capabilities.
55
keywords: Docker, containerd, engine, image store, lazy-pull
66
toc_max: 3
77
aliases:
8-
- /desktop/containerd/
8+
- /desktop/containerd/
99
---
1010

11-
Docker Desktop is transitioning to use containerd for image and filesystem management. This page outlines the benefits, setup process, and new capabilities enabled by the containerd image store.
12-
13-
> [!NOTE]
14-
>
15-
> Docker Desktop maintains separate image stores for the classic and containerd image stores.
16-
> When switching between them, images and containers from the inactive store remain on disk but are hidden until you switch back.
11+
Docker Desktop uses containerd as its image store by default. The image store
12+
is the component responsible for pushing, pulling, and storing images on your
13+
filesystem. The containerd image store supports features like multi-platform
14+
images, image attestations, and alternative snapshotters.
1715

1816
## What is `containerd`?
1917

20-
`containerd` is a container runtime that provides a lightweight, consistent interface for container lifecycle management. It is already used under the hood by Docker Engine for creating, starting, and stopping containers.
21-
22-
Docker Desktop’s ongoing integration of containerd now extends to the image store, offering more flexibility and modern image support.
18+
`containerd` is a container runtime that provides a lightweight, consistent
19+
interface for container lifecycle and image management. It is used under the
20+
hood by Docker Engine for creating, starting, and stopping containers.
2321

2422
## What is the `containerd` image store?
2523

2624
The image store is the component responsible for pushing, pulling,
2725
and storing images on the filesystem.
2826

29-
The classic Docker image store is limited in the types of images that it supports.
30-
For example, it doesn't support image indices, containing manifest lists.
31-
When you create multi-platform images, for example,
32-
the image index resolves all the platform-specific variants of the image.
33-
An image index is also required when building images with attestations.
34-
3527
The containerd image store extends the range of image types
3628
that the Docker Engine can natively interact with.
3729
While this is a low-level architectural change,
@@ -47,20 +39,33 @@ it's a prerequisite for unlocking a range of new use cases, including:
4739
[2]: https://github.com/containerd/nydus-snapshotter
4840
[3]: https://github.com/dragonflyoss/image-service
4941

50-
## Enable the containerd image store
42+
## Classic image store
5143

52-
The containerd image store is enabled by default in Docker Desktop version 4.52
53-
and later.
44+
The classic image store is Docker's legacy storage backend, replaced by the
45+
containerd image store. It doesn't support image indices or manifest lists, so
46+
you can't load multi-platform images locally or build images with attestations.
5447

55-
To manually select which image store Docker Desktop uses:
48+
Most users have no reason to use the classic image store. It's available for
49+
cases where you need to match older behavior or have compatibility
50+
requirements.
51+
52+
## Switch image stores
53+
54+
The containerd image store is enabled by default in Docker Desktop version 4.34
55+
and later. To switch between image stores:
5656

5757
1. Navigate to **Settings** in Docker Desktop.
5858
2. In the **General** tab, check or clear the **Use containerd for pulling and storing images** option.
5959
3. Select **Apply**.
6060

61+
> [!NOTE]
62+
>
63+
> Docker Desktop maintains separate image stores for the classic and containerd image stores.
64+
> When switching between them, images and containers from the inactive store remain on disk but are hidden until you switch back.
65+
6166
## Build multi-platform images
6267

63-
Enabling the containerd image store lets you build multi-platform images
68+
The containerd image store lets you build multi-platform images
6469
and load them to your local image store:
6570

6671
<script async id="asciicast-ZSUI4Mi2foChLjbevl2dxt5GD" src="https://asciinema.org/a/ZSUI4Mi2foChLjbevl2dxt5GD.js"></script>

0 commit comments

Comments
 (0)