–name was unexpected at this time azure cli

  azure, azure-devops, docker

Im trying to create and run a release pipeline where i try to to create a Azure Container instance.

Where is my task in devops:
enter image description here

When i try to run this, i get the following error:

2021-02-24T10:04:36.1897897Z --name was unexpected at this time.
2021-02-24T10:04:36.1968168Z ##[error]Script failed with exit code: 255

The complete log:
enter image description here

So what’s wrong with my CLI syntax?

Source: Docker Questions