diff --git a/pkg/domain/infra/abi/containers.go b/pkg/domain/infra/abi/containers.go index 5674f675f3..86d4bd200f 100644 --- a/pkg/domain/infra/abi/containers.go +++ b/pkg/domain/infra/abi/containers.go @@ -673,7 +673,7 @@ func (ic *ContainerEngine) ContainerRestore(ctx context.Context, namesOrIds []st } ctrs = make([]*libpod.Container, 0, len(containers)) for i := range containers { - ctrs[i] = containers[i].Container + ctrs = append(ctrs, containers[i].Container) } default: for _, nameOrID := range namesOrIds {