Import containerd images with all platforms

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/2257/head
Erik Wilson 2020-09-02 17:09:16 -07:00 committed by Brad Davidson
parent fcaeebaa18
commit a08e998bc5
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ func preloadImages(ctx context.Context, cfg *config.Node) error {
continue
}
}
_, err = client.Import(ctxContainerD, imageReader)
_, err = client.Import(ctxContainerD, imageReader, containerd.WithAllPlatforms(true))
file.Close()
if err != nil {
logrus.Errorf("Unable to import %s: %v", filePath, err)