Browse Source

compose images should list created containers images

Signed-off-by: Kevin Roy <[email protected]>
Kevin Roy 4 years ago
parent
commit
d7d29b25bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pkg/compose/images.go

+ 1 - 0
pkg/compose/images.go

@@ -33,6 +33,7 @@ import (
 
 func (s *composeService) Images(ctx context.Context, projectName string, options api.ImagesOptions) ([]api.ImageSummary, error) {
 	allContainers, err := s.apiClient.ContainerList(ctx, moby.ContainerListOptions{
+		All:     true,
 		Filters: filters.NewArgs(projectFilter(projectName)),
 	})
 	if err != nil {