Skip to content

Commit da13c79

Browse files
committed
feedback
1 parent 96b7f5a commit da13c79

File tree

4 files changed

+54
-28
lines changed

4 files changed

+54
-28
lines changed

content/manuals/engine/storage/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from the writeable layer to the host, or to another container.
2424
2525
## Image storage
2626

27-
Docker offers two implementation of image storage:
27+
Docker offers two implementations for image storage:
2828

2929
- Default/current implementation: [Containerd](./containerd.md)
3030
- Legacy/deprecated implementation: [Storage drivers](./drivers/_index.md)

content/manuals/engine/storage/containerd.md

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,49 +30,41 @@ For more information about the containerd image store and its benefits, refer to
3030

3131
## Migrate to containerd image store on Docker Engine
3232

33-
When you update to Docker Engine v29 and enable the containerd feature, you are
34-
automatically migrated. The migration mechanism handles overlay and vfs images.
33+
{{< summary-bar feature_name="Containerd migration" >}}
3534

36-
Switching to containerd snapshotters causes you to temporarily lose images and
37-
containers created using the classic storage drivers. If you use other graph storage, repull or rebuild your images.
38-
39-
> [!TIP]
40-
> Those resources still exist on your filesystem, and you can retrieve them by
41-
> turning off the containerd snapshotters feature.
42-
43-
Docker Engine uses the `overlayfs` containerd snapshotter by default.
44-
45-
To display which driver you are using, run:
46-
47-
```console
48-
$ docker info -f '{{ .DriverStatus }}'
49-
```
50-
51-
## Disabling containerd image store
52-
53-
The following steps explain how to disable the containerd snapshotters feature.
35+
You can enable the auto-migration feature for containerd snapshotters once you
36+
update to Docker Engine v29. The migration mechanism handles overlay and vfs
37+
images. To enable it:
5438

5539
1. Add the following configuration to your `/etc/docker/daemon.json`
5640
configuration file:
5741

5842
```json
5943
{
6044
"features": {
61-
"containerd-snapshotter": false
45+
"containerd-migration": true
6246
}
6347
}
6448
```
6549

66-
2. Save the file.
50+
1. Save the file.
6751

68-
3. Restart the daemon for the changes to take effect.
52+
1. Restart the daemon for the changes to take effect.
6953

70-
```console
71-
$ sudo systemctl restart docker
72-
```
54+
Switching to containerd snapshotters causes you to temporarily lose images and
55+
containers created using the classic storage drivers.
56+
If you use other graph storage, repull or rebuild your images.
7357

74-
4. Verify which driver you are using:
58+
1. To display which driver you are using, run:
7559

7660
```console
7761
$ docker info -f '{{ .DriverStatus }}'
7862
```
63+
64+
> [!TIP]
65+
> Those resources still exist on your filesystem, and you can retrieve them by
66+
> [turning off the containerd snapshotters feature](#disabling-containerd-image-store).
67+
68+
## Related pages
69+
70+
- [Legacy storage drivers](drivers/_index.md)

content/manuals/engine/storage/drivers/_index.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,39 @@ work, with one or more virtual disks per virtual machine. The [`vfs` storage](vf
535535
doesn't provide a CoW filesystem or other optimizations. When using this storage
536536
driver, a full copy of the image's data is created for each container.
537537

538+
## Enable Legacy storage drivers
539+
540+
Starting with Docker Engine v29, [containerd](../containerd.md) is enabled by
541+
default. To re-enable the legacy storage drivers instead of using containerd
542+
snapshotters:
543+
544+
1. Add the following configuration to your `/etc/docker/daemon.json`
545+
configuration file:
546+
547+
```json
548+
{
549+
"features": {
550+
"containerd-snapshotter": false
551+
}
552+
}
553+
```
554+
555+
1. Save the file.
556+
557+
1. Restart the daemon for the changes to take effect.
558+
559+
```console
560+
$ sudo systemctl restart docker
561+
```
562+
563+
1. Verify which driver you are using:
564+
565+
```console
566+
$ docker info -f '{{ .DriverStatus }}'
567+
```
568+
538569
## Related information
539570

540571
* [Volumes](../volumes.md)
541572
* [Select a storage driver](select-storage-driver.md)
573+
* [Containerd](../containerd.md)

data/summary.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,5 @@ Wasmtime:
250250
availability: Experimental
251251
StorageDrivers:
252252
availability: Deprecated
253+
Containerd migration:
254+
availability: Experimental

0 commit comments

Comments
 (0)