containerd/cmd/ctr/commands/containers
Yifan Yuan bda7b58666 feat: Add snapshotter label to the new snapshot for container.
add '--snapshotter-labels' in ctr run and ctr c create
which can pass labels to snappshotter on preparing new
snapshot.

Pass command label to snapshotter can help it determine
which kind of writable snapshots should be provide.

For some snapshotter, such as overlaybd:
  ( https://github.com/alibaba/accelerated-container-image ),
it can provide 2 kind of writable snapshot (overlayfs dir or
 blockdevice) by command label values.

Signed-off-by: Yifan Yuan <tuji.yyf@alibaba-inc.com>
2021-06-28 20:08:01 +08:00
..
checkpoint.go Move checkpoint and restore commands to new files 2019-05-10 14:20:19 +00:00
containers.go feat: Add snapshotter label to the new snapshot for container. 2021-06-28 20:08:01 +08:00
restore.go Move checkpoint and restore commands to new files 2019-05-10 14:20:19 +00:00