containerd / accelerated-container-image

A production-ready remote container image format (overlaybd) and snapshotter based on block-device.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overlaybd versioning strategy

northtyphoon opened this issue · comments

commented

Want to start a thread to discuss the general versioning strategy.

We need to way to know if the converted images can work with previous or future version of overlaybd driver. If image convertor introduces any breaking change, we need a way to check the version to know if it can work with current runtime setup.

We are wondering if we can start to include a version annotation in the manifest.

"annotations": {
"containerd.io/snapshot/overlaybd/version": "0.1.0"
}

"annotations": {
"containerd.io/snapshot/fastoci/version": "0.1.0"
}

A label to show the version number is needed.
I think 'fastoci' is a sub-type of overlaybd, so the version maybe:

"annotations": {
"containerd.io/snapshot/overlaybd/version": "0.1.0" // for normal overlaybd-image
"containerd.io/snapshot/overlaybd/version": "0.1.0-fastoci" // for fastOCI index
}