Due to the fact the docker daemon cannot run in Cloud Shell since shell itself is a container, certain az cmds do not work properly.
I propose we work together to output more useful error messages for all the cases this is true for az. @yugangw-msft
Environment summary
Azure Cloud Shell (Bash)
gordon@Azure:~$ az acr login --name http://sapetregistry.azurecr.io
Please verify if docker daemon is running properly.