{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/9113","labels_url":"https://api.github.com/repos/docker/docker/issues/9113/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/9113/comments","events_url":"https://api.github.com/repos/docker/docker/issues/9113/events","html_url":"https://github.com/docker/docker/pull/9113","id":48475971,"number":9113,"title":"Windows port of Docker Client","user":{"login":"ahmetalpbalkan","id":159209,"avatar_url":"https://avatars.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetalpbalkan","html_url":"https://github.com/ahmetalpbalkan","followers_url":"https://api.github.com/users/ahmetalpbalkan/followers","following_url":"https://api.github.com/users/ahmetalpbalkan/following{/other_user}","gists_url":"https://api.github.com/users/ahmetalpbalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetalpbalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetalpbalkan/subscriptions","organizations_url":"https://api.github.com/users/ahmetalpbalkan/orgs","repos_url":"https://api.github.com/users/ahmetalpbalkan/repos","events_url":"https://api.github.com/users/ahmetalpbalkan/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetalpbalkan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels//project/doc","name":"/project/doc","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":58,"created_at":"2014-11-12T05:49:50Z","updated_at":"2015-02-23T17:10:02Z","closed_at":"2014-11-15T18:40:31Z","pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/9113","html_url":"https://github.com/docker/docker/pull/9113","diff_url":"https://github.com/docker/docker/pull/9113.diff","patch_url":"https://github.com/docker/docker/pull/9113.patch"},"body":"# Docker CLI for Windows\r\n\r\n![](http://cl.ly/image/3g0V3w352Y1D/Capture.PNG)\r\n\r\n### Introduction\r\n\r\nThis pull request contains the set of changes to compile and get the Docker client working on Microsoft Windows.\r\n\r\nChanges were mostly around `pkg/term` to get the `docker attach` and other TTY-involving parts working on Windows terminals, `pkg/archive` and `utils` which rely on Unix-specfic calls or structures like stat and other things like home directory or path separators.\r\n\r\nWe haven't gotten the CLI integration tests running on Windows, yet, therefore functionality is mostly verified manually (more about this below). There are known bugs, which we are looking forward to fix very soon.\r\n\r\nSince some of the client code uses packages which contains daemon code (and therefore closely coupled to Linux), we had to provide alternative implementations to those using Go build tags. Those functions mostly return errors when they are called because they shouldn't be called on client code paths.\r\n\r\nRunning `make cross` now produces 386/amd64 versions of `docker.exe`!\r\n\r\n### Known issues \r\n\r\n* **Integration-CLI tests not executed:** Most of this test suite assumes\r\n  the daemon is running on the same machine as the client (not possible on Windows, yet)\r\n  and uses Unix sockets to verify the results. These need to be skipped, where\r\n  applicable, or these tests should be converted to use the Remote API over HTTP\r\n  instead of using Unix sockets.\r\n* **Path issues:** Due to the difference between Unix and Windows path separators,\r\n  functionality involving Dockerfile and .dockerignore (e.g. `docker build`) are not\r\n  yet working properly.\r\n* **ANSI.SYS dependency for TTY:** ANSI escape sequences used by TTY terminal code\r\n  (e.g. `docker attach`) are not natively working in the Windows Command Line (cmd.exe)\r\n  or PowerShell. The reason is, ANSI.SYS has not been shipping since Windows 7.\r\n  However, other terminal emulators like [ConEmu](https://code.google.com/p/conemu-maximus5/)\r\n  or ANSI.SYS alternatives like [ansicon](https://github.com/adoxa/ansicon)\r\n  solve this problem. We will be searching for solutions that work out-of-the box.\r\n\r\n\r\n\r\nSigned-off-by: Ahmet Alp Balkan <ahmetb@microsoft.com> \r\nSigned-off-by: John Gossman <johngos@microsoft.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/75585700","html_url":"https://github.com/docker/docker/pull/9113#issuecomment-75585700","issue_url":"https://api.github.com/repos/docker/docker/issues/9113","id":75585700,"user":{"login":"ksmutny","id":1833289,"avatar_url":"https://avatars.githubusercontent.com/u/1833289?v=3","gravatar_id":"","url":"https://api.github.com/users/ksmutny","html_url":"https://github.com/ksmutny","followers_url":"https://api.github.com/users/ksmutny/followers","following_url":"https://api.github.com/users/ksmutny/following{/other_user}","gists_url":"https://api.github.com/users/ksmutny/gists{/gist_id}","starred_url":"https://api.github.com/users/ksmutny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksmutny/subscriptions","organizations_url":"https://api.github.com/users/ksmutny/orgs","repos_url":"https://api.github.com/users/ksmutny/repos","events_url":"https://api.github.com/users/ksmutny/events{/privacy}","received_events_url":"https://api.github.com/users/ksmutny/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T17:10:02Z","updated_at":"2015-02-23T17:10:02Z","body":"Please, is there an archive of official builds of Windows client? The builds on https://master.dockerproject.com are nightly and got out of sync with boot2docker. I have a boot2docker in Hyper-V (on Windows 8.1) with API version 1.17, the official Windows client build has API version 1.18. I want to avoid compiling the client myself. Thanks in advance for any help."}}