LCOW: Make sure OS is copied for docker save

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2018-03-13 10:12:56 -07:00
parent d8dbba14fd
commit d5c781323d
1 changed files with 1 additions and 0 deletions

View File

@ -316,6 +316,7 @@ func (s *saveSession) saveImage(id image.ID) (map[layer.DiffID]distribution.Desc
v1Img.Parent = parent.Hex()
}
v1Img.OS = img.OS
src, err := s.saveLayer(rootFS.ChainID(), v1Img, img.Created)
if err != nil {
return nil, err