diff --git a/cmd/preflight/cmd/check_container.go b/cmd/preflight/cmd/check_container.go index e2f6c671..1d08c02d 100644 --- a/cmd/preflight/cmd/check_container.go +++ b/cmd/preflight/cmd/check_container.go @@ -186,6 +186,7 @@ func generateContainerCheckOptions(cfg *runtime.Config) []container.Option { container.WithDockerConfigJSONFromFile(cfg.DockerConfig), // Always add PyxisHost, since the value is always set in viper config parsing. container.WithPyxisHost(cfg.PyxisHost), + container.WithPlatform(cfg.Platform), } // set auth information if both are present in config.