{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/3329","repository_url":"https://api.github.com/repos/docker/machine","labels_url":"https://api.github.com/repos/docker/machine/issues/3329/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/3329/comments","events_url":"https://api.github.com/repos/docker/machine/issues/3329/events","html_url":"https://github.com/docker/machine/pull/3329","id":148927602,"number":3329,"title":"Support for Windows Docker hosts on Azure","user":{"login":"ppadala","id":812668,"avatar_url":"https://avatars.githubusercontent.com/u/812668?v=3","gravatar_id":"","url":"https://api.github.com/users/ppadala","html_url":"https://github.com/ppadala","followers_url":"https://api.github.com/users/ppadala/followers","following_url":"https://api.github.com/users/ppadala/following{/other_user}","gists_url":"https://api.github.com/users/ppadala/gists{/gist_id}","starred_url":"https://api.github.com/users/ppadala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppadala/subscriptions","organizations_url":"https://api.github.com/users/ppadala/orgs","repos_url":"https://api.github.com/users/ppadala/repos","events_url":"https://api.github.com/users/ppadala/events{/privacy}","received_events_url":"https://api.github.com/users/ppadala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/machine/labels/group/windows","name":"group/windows","color":"ededed"},{"url":"https://api.github.com/repos/docker/machine/labels/status/0-triage","name":"status/0-triage","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2016-04-17T07:44:22Z","updated_at":"2016-05-05T19:01:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/3329","html_url":"https://github.com/docker/machine/pull/3329","diff_url":"https://github.com/docker/machine/pull/3329.diff","patch_url":"https://github.com/docker/machine/pull/3329.patch"},"body":"Issue #2907.\r\n\r\nThis pull request adds support for spinning up Windows 2016 servers on Azure. Brief overview of all the steps\r\n\r\n1. Spin up a [Windows 2016 TP4 with containers image](https://azure.microsoft.com/en-us/marketplace/partners/microsoft/windowsserver2016technicalpreviewwithcontainers/). \r\n2. Enable WinRM using deploy template. WinRM is used to execute commands on the VM, once it is up\r\n3. Stop docker-engine\r\n3. Upload certs and keys using WinRM\r\n4. Start docker-engine\r\n\r\nUsage: Three new parameters are added to Azure driver\r\n\r\n```\r\n--azure-os \"linux\"\t\t\t        OS for the Azure VM (Windows|Linux)\r\n--azure-winrm-user \"docker-user\"\tUsername for WinRM login [$AZURE_WINRM_USER]\r\n--azure-winrm-password \t\t        Password for WinRM login [$AZURE_WINRM_PASSWORD]\r\n```\r\n\r\nSample command\r\n\r\n```\r\ndocker-machine -D create -d azure --azure-subscription-id $(cat ~/azure/subid) --azure-os \"windows\" --azure-image MicrosoftWindowsServer:WindowsServer:2016-Technical-Preview-with-Containers:2016.0.20151118 --azure-winrm-password \"mysecretpassword\" vhost-win-test\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/217244266","html_url":"https://github.com/docker/machine/pull/3329#issuecomment-217244266","issue_url":"https://api.github.com/repos/docker/machine/issues/3329","id":217244266,"user":{"login":"ppadala","id":812668,"avatar_url":"https://avatars.githubusercontent.com/u/812668?v=3","gravatar_id":"","url":"https://api.github.com/users/ppadala","html_url":"https://github.com/ppadala","followers_url":"https://api.github.com/users/ppadala/followers","following_url":"https://api.github.com/users/ppadala/following{/other_user}","gists_url":"https://api.github.com/users/ppadala/gists{/gist_id}","starred_url":"https://api.github.com/users/ppadala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppadala/subscriptions","organizations_url":"https://api.github.com/users/ppadala/orgs","repos_url":"https://api.github.com/users/ppadala/repos","events_url":"https://api.github.com/users/ppadala/events{/privacy}","received_events_url":"https://api.github.com/users/ppadala/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T19:01:28Z","updated_at":"2016-05-05T19:01:28Z","body":"Agree with @StefanScherer. Installing and setting up docker-engine takes considerably long time, especially getting the core images etc.\r\n\r\n@enderb-ms, if you want better user experience have the clean Windows server image, but also have an image with docker-engine installed and configured to run locally.\r\n\r\ncc @selvik"}}