This repository was archived by the owner on Jan 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
runtime/drivers/containerd Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,24 @@ func (ct *containerTask) Start(ctx context.Context) error {
4949 return fmt .Errorf ("containerd driver start not fully implemented - needs OCI runtime integration" )
5050}
5151
52+ // StartFromSnapshot starts the container by restoring from a snapshot.
53+ // Note: Containerd containers don't support VM-style snapshots.
54+ func (ct * containerTask ) StartFromSnapshot (ctx context.Context , globalSnapshotPath , jailSnapshotPath string ) error {
55+ return fmt .Errorf ("containerd driver does not support snapshot restore" )
56+ }
57+
58+ // Snapshot saves the container state to a file.
59+ // Note: Containerd containers don't support VM-style snapshots.
60+ func (ct * containerTask ) Snapshot (ctx context.Context , path string ) error {
61+ return fmt .Errorf ("containerd driver does not support snapshots" )
62+ }
63+
64+ // Restore restores the container state from a snapshot file.
65+ // Note: Containerd containers don't support VM-style snapshots.
66+ func (ct * containerTask ) Restore (ctx context.Context , path string ) error {
67+ return fmt .Errorf ("containerd driver does not support snapshot restore" )
68+ }
69+
5270// monitor watches the task and handles exit.
5371func (ct * containerTask ) monitor () {
5472 defer close (ct .waitChan )
You can’t perform that action at this time.
0 commit comments