feat: complete daemon operations and recovery tooling

This commit is contained in:
2026-08-22 15:34:09 +08:00
parent a0a4a7556a
commit 1abe8df6ee
19 changed files with 1421 additions and 171 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ func (e *fakeEngine) ContainerLogs(context.Context, string) (io.ReadCloser, erro
}
// StopContainer 实现容器引擎的 StopContainer,将指定容器标记为已退出状态,不存在时返回 ErrNotFound。
func (e *fakeEngine) StopContainer(_ context.Context, name string) error {
func (e *fakeEngine) StopContainer(_ context.Context, name string, _ int) error {
e.mu.Lock()
defer e.mu.Unlock()
record, exists := e.containers[name]