I have encountered an issue with
az acr login --name <acr_name> command. It hanged and
--verbose flag did not provide any additional information. It just stops and nothing happens.
The solution is simple. You should restart docker service through the Windows Subsystem for Linux restart. In order to restart docker service:
- I find WSL service with name LxxsManager in Task Manager. Remember the value of PID column for LxxsManager service.
- Switch to Details tab, find the process with PID from service tab and kill it.