Generalize ContainerRuntime.loadRuntime to allow custom Registry (#27685)