Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: Refactoring to compile Docker Daemon on Windows #10662
Following the Docker and Microsoft announcement in October 2014 (http://news.microsoft.com/2014/10/15/dockerpr/), and the recent PR #9113 for the port of the Docker client portion to Windows, this proposal is for the initial work necessary for the Docker daemon to compile on Windows.
The existing daemon code base does not compile cross-platform for Windows. This is largely due to a number of ‘Linuxisms’ and system calls which do not have matching Windows counterparts.
A simple example of the type of factoring would be removing support of the Unix HTTP namespace on Windows (but keeping it on Linux). Windows would support the TCP HTTP namespace only.
In addition, dummy no-op drivers will be added for future support of Windows containers.
At the end of the series of PRs relating to this proposal, it is expected that the Docker Daemon will initialise and listen for requests on a TCP port on a Windows platform. It will be largely non-functional except for responding to “version” and “info”.
The functionality of the Docker daemon on Linux platforms will be unchanged.
Let us know how we can help. A function-level segregation using conditional compilation is indeed necessary, but maybe we'll also identify responsibilities along the way that justify adding whole new interfaces to cleanly separate implementations.
referenced this issue
Feb 23, 2015
This proposal has been approved because many PRs for this work have been merged and there are still some open PRs which are part of this work. I'm going to close this because: 1) this has been approved, 2) it's work in progress, 3) there's nothing more left to approve and debate.