Skip to content

Commit d7d29b2

Browse files
kinioundeloof
authored andcommitted
compose images should list created containers images
Signed-off-by: Kevin Roy <[email protected]>
1 parent e2f33af commit d7d29b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/images.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import (
3333

3434
func (s *composeService) Images(ctx context.Context, projectName string, options api.ImagesOptions) ([]api.ImageSummary, error) {
3535
allContainers, err := s.apiClient.ContainerList(ctx, moby.ContainerListOptions{
36+
All: true,
3637
Filters: filters.NewArgs(projectFilter(projectName)),
3738
})
3839
if err != nil {

0 commit comments

Comments
 (0)