i did
az vm run-command invoke --resource-group <RESOURCE_GROUP> --name <VM_NAME> --command-id RunShellScript --scripts "sudo apt-get remove --purge -y docker.io docker-ce docker-ce-cli containerd runc && sudo systemctl restart ssh"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi.
I am unable to connect to Azure Linux VM after installing Docker.
Port 22 for SSH is allowed in NSG.
I have to restore the VM to be able to connect.
Note: VM is behind Firewall
i did
az vm run-command invoke --resource-group <RESOURCE_GROUP> --name <VM_NAME> --command-id RunShellScript --scripts "sudo apt-get remove --purge -y docker.io docker-ce docker-ce-cli containerd runc && sudo systemctl restart ssh"