Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 913 Bytes

container-registry-import-include.md

File metadata and controls

25 lines (21 loc) · 913 Bytes
author ms.service ms.topic ms.date ms.author
dlepow
container-registry
include
02/24/2021
danlep

Import image to registry

Use the az acr import command in the Azure CLI to import the image from Docker Hub to your registry.

Substitute the name of the source repo and tag in Docker Hub, your Docker Hub account credentials, your registry name, and optionally a different name and tag of the image in the target registry:

az acr import \
   --name myregistry \
   --source docker.io/library/repo:tag \
   --image myprivateimage:mytag \
   --username <Docker Hub username> \
   --password <Docker Hub password>