diff --git a/internal/storage/image.go b/internal/storage/image.go index cc3977a3ec1..55b100cdc56 100644 --- a/internal/storage/image.go +++ b/internal/storage/image.go @@ -761,10 +761,9 @@ func (svc *imageService) ResolveNames(systemContext *types.SystemContext, imageN return nil, err } - // Set shortNameMode to permissive so we fall back to look through the search registries list - // if the short name alias is not found in the alias table - permissive := types.ShortNameModePermissive - systemContext.ShortNameMode = &permissive + // Disable short name alias mode. Will enable it once we settle on a shortname alias table. + disabled := types.ShortNameModeDisabled + systemContext.ShortNameMode = &disabled resolved, err := shortnames.Resolve(systemContext, imageName) if err != nil { return nil, err