diff --git a/pkg/compose/pull.go b/pkg/compose/pull.go index f9968466bd..3eaf7adf75 100644 --- a/pkg/compose/pull.go +++ b/pkg/compose/pull.go @@ -209,7 +209,10 @@ func (s *composeService) pullDryRun(ctx context.Context, project *types.Project, var results []pullDryRunServiceResult for _, service := range project.Services { - l := localDigests[service.Image] + l, ok := localDigests[service.Image] + if !ok { + l = []string{} + } d := dstrDigests[service.Image] plan := getPullPlan(service, l, d) result := &pullDryRunServiceResult{