mirror of
https://github.com/docker/compose.git
synced 2026-05-13 13:58:02 +00:00
debug message to help diagnose platform mismatch
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
0bf7d1ea25
commit
61e44da936
1 changed files with 1 additions and 0 deletions
|
|
@ -368,6 +368,7 @@ func (s *composeService) getLocalImagesDigests(ctx context.Context, project *typ
|
|||
Variant: inspect.Variant,
|
||||
}
|
||||
if !platforms.NewMatcher(platform).Match(actual) {
|
||||
logrus.Debugf("local image %s doesn't match expected platform %s", service.Image, service.Platform)
|
||||
// there is a local image, but it's for the wrong platform, so
|
||||
// pretend it doesn't exist so that we can pull/build an image
|
||||
// for the correct platform instead
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue