daemon: remove SnapshotterFromGraphDriver mapping#77
Conversation
It was decided in upstream to not do mapping of graphdriver-names to snapshotters, and instead require the actual name of the snapshotter to be used when configuring the daemon's storage driver. This patch removes the code that was used for mapping to make it closer to upstream. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
vvoland
left a comment
There was a problem hiding this comment.
LGTM.
Just one thing came to my mind - if we differentiate overlayfs from overlay2 (even though they work in the same fashion), is it okay not to do that for zfs and btrfs?
Ultimately, it will be the combination of |
|
Thx; bringing this one in 👍 |
Why was it decided like this? This is a breaking change for all existing Docker installations. This also completely breaks dind environment atm: I guess it has something to do with that environment defining default driver Edit: no, it does not start to work even if I unset |
|
In the case above, how does it configure the docker-in-docker container to use containerd-snapshotters? Wouldn't it require setting that up already? |
The feature option is because currently, the daemon works with multiple backends so that containerd preview can be tested. We will not indefinitely maintain multiple storage stacks. When containerd stack is complete, the other one will be removed. |
|
The mapping ( Feel free to bring it up in the maintainers channel though. |
It was decided in upstream to not do mapping of graphdriver-names to
snapshotters, and instead require the actual name of the snapshotter
to be used when configuring the daemon's storage driver.
This patch removes the code that was used for mapping to make it
closer to upstream.
- A picture of a cute animal (not mandatory but encouraged)