Skip to content

Commit d5c7813

Browse files
author
John Howard
committed
LCOW: Make sure OS is copied for docker save
Signed-off-by: John Howard <[email protected]>
1 parent d8dbba1 commit d5c7813

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

image/tarexport/save.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ func (s *saveSession) saveImage(id image.ID) (map[layer.DiffID]distribution.Desc
316316
v1Img.Parent = parent.Hex()
317317
}
318318

319+
v1Img.OS = img.OS
319320
src, err := s.saveLayer(rootFS.ChainID(), v1Img, img.Created)
320321
if err != nil {
321322
return nil, err

0 commit comments

Comments
 (0)