1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows [TP4] Fix push to not kill daemon

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-11-14 17:23:33 -08:00
parent 59fe485f0d
commit 7e5e29e415

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 {