@@ -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
55391 . 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 )
0 commit comments