Commit a08e998b authored by Erik Wilson's avatar Erik Wilson Committed by Brad Davidson

Import containerd images with all platforms

parent fcaeebaa
...@@ -202,7 +202,7 @@ func preloadImages(ctx context.Context, cfg *config.Node) error { ...@@ -202,7 +202,7 @@ func preloadImages(ctx context.Context, cfg *config.Node) error {
continue continue
} }
} }
_, err = client.Import(ctxContainerD, imageReader) _, err = client.Import(ctxContainerD, imageReader, containerd.WithAllPlatforms(true))
file.Close() file.Close()
if err != nil { if err != nil {
logrus.Errorf("Unable to import %s: %v", filePath, err) logrus.Errorf("Unable to import %s: %v", filePath, err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment