skiffos / SkiffOS

Any Linux distribution, anywhere.
https://skiffos.com
MIT License
685 stars 50 forks source link

docker: enable containerd snapshotter with backwards-compat #313

Open paralin opened 3 months ago

paralin commented 3 months ago

https://docs.docker.com/storage/containerd/

Enabling the new containerd snapshotter:

/etc/docker/daemon.json:

{
  "features": {
    "containerd-snapshotter": true
  }
}

We should enable this only if there are zero existing docker images stored on the system.

When switching snapshotters, the images from the older docker image store will not be visible anymore.

Solution: