I have VS 2015 and installed "Visual Studio 2015 Tools for Docker - August Preview".
I've created a ASP.NET 5 Web Application.
I start the Publish process -> Docker Containers -> New VM
A popup is displayed telling me the VM is being created.
After a bit I get this popup with "Failed to create resource group dockertest".
Output log:
20-08-2015 13:03:05 - Creating resource group dockertest in northeurope...
Launching deployment PowerShell script with the following command:
'C:\Users\paw\sandbox\docker\Test1\PublishScripts\Scripts\Deploy-DockerAzureResourceGroup-3.ps1' -ResourceGroupName 'dockertest' -ResourceGroupLocation 'northeurope' -TemplateFile 'C:\Users\paw\sandbox\docker\Test1\PublishScripts\Templates\WebApplication2DockerVM-3.json'
-TemplateParametersFile 'C:\Users\paw\sandbox\docker\Test1\PublishScripts\Templates\WebApplication2DockerVM.param.dev-3.json' -DockerCertsDirectory 'C:\Users\paw\.docker' -AdminPassword 'qwerty'
New-AzureProfile : The term 'New-AzureProfile' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of th
e name, or if a path was included, verify that the path is correct and try agai
n.
At line:1 char:32
+ (Select-AzureProfile -Profile (New-AzureProfile -SubscriptionId 'e3b0 ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-AzureProfile:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Switch-AzureMode : The term 'Switch-AzureMode' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of th
e name, or if a path was included, verify that the path is correct and try agai
n.
At C:\Users\paw\sandbox\docker\Test1\PublishScripts\Scripts\Deploy-DockerAzureR
esourceGroup-3.ps1:90 char:1
+ Switch-AzureMode AzureResourceManager
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Switch-AzureMode:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
New-AzureResourceGroup : The term 'New-AzureResourceGroup' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the sp
elling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\Users\paw\sandbox\docker\Test1\PublishScripts\Scripts\Deploy-DockerAzureR
esourceGroup-3.ps1:91 char:1
+ New-AzureResourceGroup -Name $ResourceGroupName `
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (New-AzureResourceGroup:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Deploying template using PowerShell script failed.
20-08-2015 13:03:14 - Creating virtual machine dockertest failed. Failed to create resource group dockertest.
I have also tried creating the VM first and selecting that. But the "Validate Connection" button gives me a "Failed (click for details)" error, pointing me to https://msdn.microsoft.com/library/azure/mt125442.aspx.
I've shut down all my firewall + antivirus, didn't help.