ctr -n moby containers info shows empty SnapshotKey/Snapshotter when Docker uses io.containerd.snapshotter.v1 (overlayfs) — expected? #12718
-
|
Hi team, However, when I run: the output shows empty values for SnapshotKey and Snapshotter, e.g.: Is this expected behavior when Docker is using io.containerd.snapshotter.v1? If so, could you explain why these fields are empty (and where the snapshot reference is supposed to be tracked instead)? containerd version: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @Percivalll,
From containerd's perspective, this just means the container was created without those pieces of information. From Docker engine's point of view, it depends but I'd say this is a bit by design.
Engine has support for both the containerd backend and its legacy graph drivers implementation which can build the container rootfs. The end result is some of the container rootfs construction occurs in the engine process after the container object is created in containerd. More on the docker engine side, but I happen to work on both so I'll just add for the Docker engine 29 release it was an intentional decision to not expose the snapshot details through the API as a simplification. e.g. on-disk pathing might not make sense in some use cases when the container is remote or sandboxed within a virtual machine. |
Beta Was this translation helpful? Give feedback.
Hi @Percivalll,
From containerd's perspective, this just means the container was created without those pieces of information. From Docker engine's point of view, it depends but I'd say this is a bit by design.
Engine has support for both the containerd backend and its legacy graph drivers implementation which can build the container rootfs. The end result is some of the container rootfs construction occurs in the engine process after the container object is created in containerd. More on t…