containerd/cmd/ctr/commands/run
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
..
run_unix.go feat: Add snapshotter label to the new snapshot for container. 2021-06-28 20:08:01 +08:00
run_windows.go Reject host-mode networking on Windows 2020-07-21 19:43:08 +10:00
run.go feat: Add snapshotter label to the new snapshot for container. 2021-06-28 20:08:01 +08:00