{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/26188664","id":26188664,"diff_hunk":"@@ -0,0 +1,139 @@\n+page_title: Set up a Windows server for client testing\n+page_description: How to set up a server to test Docker Windows client\n+page_keywords: development, inception, container, image Dockerfile, dependencies, Go, artifacts, windows\n+\n+\n+# Windows Client test server\n+\n+In this section, you will learn how to setup a Windows machine for building and\n+testing the Docker Windows client.\n+\n+Things you will need:\n+\n+- Windows Server/Desktop Machine\n+- Java\n+- MSysGit\n+- TDM-GCC\n+- MinGW (tar and xz)\n+- Go with linux/amd64 cross-compiling\n+- Docker.exe\n+\n+## Installing Java\n+\n+1. Open the desktop, and then tap or click the Internet Explorer icon on the\n+taskbar.\n+\n+2. Go to [java.com](http://java.com).\n+\n+3. Tap or click the Free Java Download button, and then tap or click Agree and\n+Start Free Download. ...\n+\n+4. On the notification bar, tap or click Run.\n+\n+\n+## Installing MSysGit\n+\n+1. In Internet Explorer go to [msysgit.github.io](https://msysgit.github.io/).\n+\n+2. Tap or click the button to download MSysGit.\n+\n+## Installing GCC\n+\n+1. In Internet Explorer go to\n+   [tdm-gcc.tdragon.net/download](http://tdm-gcc.tdragon.net/download).\n+\n+2. Tap or click the lastest version of the package, install and run.\n+\n+## Installing MinGW (tar and xz)\n+\n+1. In Internet Explorer download the latest MinGW from\n+   [SourceForge](http://sourceforge.net/projects/mingw/).\n+\n+2. This will install the MinGW Installation Manager.\n+\n+3. In the MinGW Installation Manager, make sure you select `tar` and `xz` as\n+   shown below, then select Installation > Apply Changes, to install the\n+   selected packages.\n+    \n+    ![windows-mingw](/project/images/windows-mingw.png)\n+\n+## Installing Golang with linux/amd64 cross-compiling\n+\n+1. Lets make sure gcc is in your `Path`.\n+\n+2. Go to Control Panel > System and Security > System, then click the Advanced\n+   System Settings link in the sidebar.\n+\n+3. In the Advanced tab, click Enviornment Variables. Now scroll to the Path\n+   variable under System variables, and double-click it to see what it\n+   includes.\n+\n+    ![windows-env-vars](/project/images/windows-env-vars.png)\n+\n+4. Make sure it has at least `C:\\TDM-GCC64` so we can cross compile Go.\n+\n+5. In Internet Explorer, download and install the latest `.msi` installer from\n+   [golang.org/dl](http://golang.org/dl/).\n+\n+6. After that is done installing open gitbash.\n+\n+7. Enter the directory where go was installed. For basic installations, run `cd\n+   /c/Go/src`.\n+\n+8. Run `cmd.exe`. You should now be in the `cmd.exe` prompt.\n+\n+9. Run \n+        \n+        set GOOS=linux\n+        set GOARCH=amd64\n+        make.bat\n+\n+10. This will allow for cross compiling for linux/amd64. If this fails with\n+    cannot find `gcc` go back to step 1.\n+\n+11. Add the `GOPATH` enviornment variables. Create a folder\n+    `C:\\gopath\\src\\github.com\\docker\\docker` and clone docker into it. Set the\n+    `GOPATH` variable in the screen from step 3 as\n+    `C:\\gopath;C:\\gopath\\src\\github.com\\docker\\docker\\vendor`.\n+\n+## Install docker.exe\n+\n+1. Create a directory `C:\\bin`.\n+\n+2. Download the latest master build of the windows client from\n+   [master.dockerproject.com](https://master.dockerproject.com).\n+\n+3. Place this file in the directory `C:\\bin` and make sure that directory is in\n+   your path. Go to Control Panel > System and Security > System, then click the Advanced\n+   System Settings link in the sidebar.\n+\n+4. In the Advanced tab, click Enviornment Variables. Now scroll to the Path","path":"docs/sources/project/windows-client-test-server.md","position":110,"original_position":110,"commit_id":"abf74de258221b5dd68e4f59d5bd4f15a21a4fe3","original_commit_id":"abf74de258221b5dd68e4f59d5bd4f15a21a4fe3","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"body":"+1 to not polluting the global env where possible.","created_at":"2015-03-11T04:38:48Z","updated_at":"2015-03-11T04:38:48Z","html_url":"https://github.com/docker/docker/pull/11296#discussion_r26188664","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/11296","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/26188664"},"html":{"href":"https://github.com/docker/docker/pull/11296#discussion_r26188664"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/11296"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/11296","id":30890788,"html_url":"https://github.com/docker/docker/pull/11296","diff_url":"https://github.com/docker/docker/pull/11296.diff","patch_url":"https://github.com/docker/docker/pull/11296.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/11296","number":11296,"state":"open","locked":false,"title":"add initial docs for windows client testing","user":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"body":"ping @ahmetalpbalkan","created_at":"2015-03-10T20:47:05Z","updated_at":"2015-03-11T04:38:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a3c53dfd60cc7937a326a3de049d29e0c54868d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/11296/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/11296/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/11296/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/abf74de258221b5dd68e4f59d5bd4f15a21a4fe3","head":{"label":"jfrazelle:windows-server-docs","ref":"windows-server-docs","sha":"abf74de258221b5dd68e4f59d5bd4f15a21a4fe3","user":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"repo":{"id":21672903,"name":"docker","full_name":"jfrazelle/docker","owner":{"login":"jfrazelle","id":1445228,"avatar_url":"https://avatars.githubusercontent.com/u/1445228?v=3","gravatar_id":"","url":"https://api.github.com/users/jfrazelle","html_url":"https://github.com/jfrazelle","followers_url":"https://api.github.com/users/jfrazelle/followers","following_url":"https://api.github.com/users/jfrazelle/following{/other_user}","gists_url":"https://api.github.com/users/jfrazelle/gists{/gist_id}","starred_url":"https://api.github.com/users/jfrazelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfrazelle/subscriptions","organizations_url":"https://api.github.com/users/jfrazelle/orgs","repos_url":"https://api.github.com/users/jfrazelle/repos","events_url":"https://api.github.com/users/jfrazelle/events{/privacy}","received_events_url":"https://api.github.com/users/jfrazelle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfrazelle/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/jfrazelle/docker","forks_url":"https://api.github.com/repos/jfrazelle/docker/forks","keys_url":"https://api.github.com/repos/jfrazelle/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfrazelle/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfrazelle/docker/teams","hooks_url":"https://api.github.com/repos/jfrazelle/docker/hooks","issue_events_url":"https://api.github.com/repos/jfrazelle/docker/issues/events{/number}","events_url":"https://api.github.com/repos/jfrazelle/docker/events","assignees_url":"https://api.github.com/repos/jfrazelle/docker/assignees{/user}","branches_url":"https://api.github.com/repos/jfrazelle/docker/branches{/branch}","tags_url":"https://api.github.com/repos/jfrazelle/docker/tags","blobs_url":"https://api.github.com/repos/jfrazelle/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfrazelle/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfrazelle/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfrazelle/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfrazelle/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/jfrazelle/docker/languages","stargazers_url":"https://api.github.com/repos/jfrazelle/docker/stargazers","contributors_url":"https://api.github.com/repos/jfrazelle/docker/contributors","subscribers_url":"https://api.github.com/repos/jfrazelle/docker/subscribers","subscription_url":"https://api.github.com/repos/jfrazelle/docker/subscription","commits_url":"https://api.github.com/repos/jfrazelle/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfrazelle/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfrazelle/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfrazelle/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfrazelle/docker/contents/{+path}","compare_url":"https://api.github.com/repos/jfrazelle/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfrazelle/docker/merges","archive_url":"https://api.github.com/repos/jfrazelle/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfrazelle/docker/downloads","issues_url":"https://api.github.com/repos/jfrazelle/docker/issues{/number}","pulls_url":"https://api.github.com/repos/jfrazelle/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/jfrazelle/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/jfrazelle/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfrazelle/docker/labels{/name}","releases_url":"https://api.github.com/repos/jfrazelle/docker/releases{/id}","created_at":"2014-07-10T00:00:33Z","updated_at":"2015-03-06T15:58:12Z","pushed_at":"2015-03-10T20:46:25Z","git_url":"git://github.com/jfrazelle/docker.git","ssh_url":"git@github.com:jfrazelle/docker.git","clone_url":"https://github.com/jfrazelle/docker.git","svn_url":"https://github.com/jfrazelle/docker","homepage":"http://www.docker.com","size":46341,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"13bfbfc84bd63fd2014bc6590a8a568c0560d5f8","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-03-11T04:16:41Z","pushed_at":"2015-03-11T04:16:41Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":149798,"stargazers_count":19719,"watchers_count":19719,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4103,"mirror_url":null,"open_issues_count":820,"forks":4103,"open_issues":820,"watchers":19719,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/11296"},"html":{"href":"https://github.com/docker/docker/pull/11296"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/11296"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/11296/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/11296/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/11296/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/abf74de258221b5dd68e4f59d5bd4f15a21a4fe3"}}}}