Docker image with TAG

  docker, image, tags

I am preparing the Azure AZ500 certification.
I am stuck on lab wich consists to create with aTAG a local Docker image based on the loginServer.

The aim is to be able to push the VM image previously created localy to a private Azure repository.

*PS C:> az acr list

"adminUserEnabled": false,
"creationDate": "2020-12-26T23:55:33.321068+00:00",
"dataEndpointEnabled": false,
"dataEndpointHostNames": [],
"encryption": {
"keyVaultProperties": null,
"status": "disabled"
"id": "/subscriptions/5a89d093-ada0-4d4e-9a12-fe7b87e94eff/resourceGroups/AZContainersRG/providers/Microsoft.ContainerRegistry/registries/AZDemoACRE",
"identity": null,
"location": "westeurope",
"loginServer": "",
"name": "AZDemoACRE",
"networkRuleSet": null,
"policies": {
"quarantinePolicy": {
"status": "disabled"’
‘PS C:> docker images
REPOSITORY TAG IMAGE ID CREATED SIZE v1 0e7801ad0561 12 hours ago 944MB
tiangolo/uwsgi-nginx-flask python3.6 997d8bb5f569 8 days ago 944MB 6.0.8 3a54a920bb6c 2 months ago 103MB*’

‘PS C:> docker tag azure-vote-front
Error response from daemon: No such image: azure-vote-front:latest’

Thanks in advance for your help.


Source: Docker Questions