I am trying to pull a docker image from an Azure CR connected via service connection.
I was following this guideline <https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops#overview>

And although the "pull" is not mentioned in the docs the command was executed in the pipeline. But the image was tried to be pulled from dockerhub and not via the configured service connection.

Can this be fixed somehow? I do not want to expose the AzureCR url in the pull command but want to use the service connection instead.

I am using the task like this

```
- task: Docker@2
  displayName: Pull image
  inputs:
    command: pull
    containerRegistry: dockerRegistryServiceConnection
    arguments: <imagename>:<tag>

```

Thank you