Description
With Graphdrivers, the docker daemon automatically selects the most suitable (opinionated / configurable) storage driver to use by
- checking what the previously used storage-driver was
- trying each storage-driver, and if supported (based on backing filesystem, distro, etc) picks the first one
- falling back to
vfs as last resort
With the containerd integration we should have a similar selection to make things "work" out of the box. Currently, we use containerd.DefaultSnapshotter as a default, but this const is hard-coded;
We should:
- Get a list of snapshotters supported by containerd (containerd checks if they can be loaded)
- Pick the first one from the list, in an (opinionated) order.
- Consider if we want (e.g.)
aufs and/or devicemapper to be part of automatic selection, or only "manual"
Description
With Graphdrivers, the docker daemon automatically selects the most suitable (opinionated / configurable) storage driver to use by
vfsas last resortWith the containerd integration we should have a similar selection to make things "work" out of the box. Currently, we use
containerd.DefaultSnapshotteras a default, but this const is hard-coded;"overlayfs""windows""native"We should:
aufsand/ordevicemapperto be part of automatic selection, or only "manual"