def catalog(query)
      get('/v2/_catalog'.freeze)['repositories'].select do |image|
        image =~ /^#{query}/
      end.map { |image_name| { 'name' => image_name } }
    end
def catalog(query)
      get('/v2/_catalog'.freeze)['repositories'].select do |image|
        image =~ /^#{query}/
      end.map { |image_name| { 'name' => image_name } }
    end
Some Registries might have this endpoint not implemented/enabled