AZ-104 · Question #325
You create the following resources in an Azure subscription: - An Azure Container Registry instance named Registry1 - An Azure Kubernetes Service (AKS) cluster named Cluster1 You create a container…
The correct answer is A. Run the docker push command. An Azure container registry stores and manages private Docker container images, similar to the way Docker Hub stores public Docker images. You can use the Docker command-line interface (Docker CLI) for login, push, pull, and other operations on your container registry. After…
Question
Options
- ARun the docker push command.
- BCreate an App Service plan.
- CRun the az acr build command.
- DRun the az aks create command.
How the community answered
(40 responses)- A73% (29)
- B3% (1)
- C15% (6)
- D10% (4)
Explanation
An Azure container registry stores and manages private Docker container images, similar to the way Docker Hub stores public Docker images. You can use the Docker command-line interface (Docker CLI) for login, push, pull, and other operations on your container registry. After you login to the registry you can run push command to upload the image. Below is an sample of that command docker push myregistry.azurecr.io/samples/nginx https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-docker-cli
Community Discussion
No community discussion yet for this question.