Windows [TP4] Fix push to not kill daemon

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 7e5e29e415f20eeb75f548ec9c5a2b5c38403600
Component: engine
This commit is contained in:
John Howard
2015-11-15 08:43:23 -08:00
parent 44e369485f
commit 3b6e098493
+5
View File
@@ -135,6 +135,11 @@ func (p *v2Pusher) pushV2Tag(tag string) error {
break
}
// Skip the base layer on Windows. This cannot be pushed.
if allowBaseParentImage && layer.Parent == "" {
break
}
logrus.Debugf("Pushing layer: %s", layer.ID)
if layer.Config != nil && metadata.Image != layer.ID {