Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only consider containers with config_hash labels (i.e, created by compose) #10317

Merged
merged 1 commit into from Mar 1, 2023

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Feb 27, 2023

What I did
As compose build sets a few com.docker.compose labels we need to distinguish container created by compose and not by another command.

Related issue
close #10314

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@codecov
Copy link

codecov bot commented Feb 27, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.28 🎉

Comparison is base (7bb60d0) 73.89% compared to head (44007d7) 74.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10317      +/-   ##
==========================================
+ Coverage   73.89%   74.18%   +0.28%     
==========================================
  Files           2        2              
  Lines         272      275       +3     
==========================================
+ Hits          201      204       +3     
  Misses         60       60              
  Partials       11       11              
Impacted Files Coverage Δ
pkg/e2e/framework.go 72.48% <0.00%> (+0.32%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndeloof ndeloof requested review from a team, nicksieger, StefanScherer, ulyssessouza, glours, milas and laurazard and removed request for a team February 27, 2023 13:37
pkg/compose/ls.go Outdated Show resolved Hide resolved
pkg/compose/ls.go Outdated Show resolved Hide resolved
…pose)

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit 4ea4479 into docker:v2 Mar 1, 2023
@ndeloof ndeloof deleted the image_labels branch March 1, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] "docker compose ls" fails when some container lack label
4 participants