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:
parent
59fe485f0d
commit
7e5e29e415
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue