Collector now follows the token auth flow for V2 registries that support it, like Docker Hub and Google Container Registry.
For Docker Hub, specify registry as registry-1.docker.io instead of the previous index.docker.io
The new default setting in Collector for the registry type is V2 (override with --registryproto=v1).