зеркало из https://github.com/microsoft/docker.git
Merge pull request #17988 from Microsoft/jjh/pushv2
Windows [TP4] Fix push to not kill daemon
This commit is contained in:
Коммит
ef424c108a
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче