Complete the code to tag a Docker image before pushing it to a container registry.
docker tag my-ml-model:latest myregistry.azurecr.io/[1]You need to tag the image with the registry name and a version tag like mlmodel:v1 before pushing.
Complete the command to push the tagged image to the container registry.
docker push [1]To push an image, you must specify the full registry path with the tag.
Fix the error in the command to login to an Azure container registry.
az acr [1] --name myregistryThe correct command to login to an Azure Container Registry is az acr login.
Fill both blanks to create a dictionary comprehension that filters images with tag 'v1'.
images = {name: tag for name, tag in image_list if tag [1] [2]The comprehension filters images where the tag equals 'v1'.
Fill all three blanks to create a dictionary of image names in uppercase with their tags filtered by tag 'stable'.
filtered_images = { [1]: [2] for name, [3] in images.items() if [2] == 'stable' }The dictionary keys are the uppercase image names, values are tags, filtered by tag 'stable'.