@@ -30,49 +30,41 @@ For more information about the containerd image store and its benefits, refer to
30
30
31
31
## Migrate to containerd image store on Docker Engine
32
32
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" >}}
35
34
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:
54
38
55
39
1 . Add the following configuration to your ` /etc/docker/daemon.json `
56
40
configuration file:
57
41
58
42
``` json
59
43
{
60
44
"features" : {
61
- "containerd-snapshotter " : false
45
+ "containerd-migration " : true
62
46
}
63
47
}
64
48
```
65
49
66
- 2 . Save the file.
50
+ 1 . Save the file.
67
51
68
- 3 . Restart the daemon for the changes to take effect.
52
+ 1 . Restart the daemon for the changes to take effect.
69
53
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.
73
57
74
- 4 . Verify which driver you are using:
58
+ 1 . To display which driver you are using, run :
75
59
76
60
``` console
77
61
$ docker info -f '{{ .DriverStatus }}'
78
62
```
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