David Scott 8805c3c711 9pudc: add defer conn.Close() for the connection to docker
Before this patch we were using `conn.CloseRead()` and `conn.CloseWrite()`
to flush and signal EOF properly in the proxy, but we forgot to actually
close the file descriptor. As a result we leaked one fd per request,
until the GC came along and closed them for us. This could explain why
the process appeared to block: new connections could not be accepted
because we were out of fds, but once the GC had happened (or we closed
some 9P fds as a result of the client on the host closing its connection)
then the process would unwedge.

This doesn't explain why the 9P filesystem itself would occasionally become
unresponsive in Linux, although apparently still processing requests normally
if you connect to it directly over the host-side socket.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-12 10:40:01 +00:00
2015-11-26 15:17:40 +00:00
2016-01-20 14:57:37 +00:00
2016-01-19 12:11:26 +00:00
2016-02-10 14:31:37 -08:00
2016-01-19 10:44:03 +00:00

Base repo for Moby, codename for the Docker Linux distro

Initial requirements are being driven by the very minimal goal of replacing boot2docker for the new Mac app.

However these requirements are fairly small and the scope is intended to be much broader.

Simple build instructions: use make to build. make xhyve will boot it up on a Mac; unless you run with sudo you will not get any networking. make qemu will boot up in qemu in a container.

You can build for arm, some parts still under development, make clean first, then make qemu-arm will run in qemu.

Description
A toolkit for building secure, portable and lean operating systems for containers
Readme 241 MiB
Languages
Go 48.3%
text 21.3%
Shell 14%
Dockerfile 5.7%
OCaml 4.6%
Other 6.1%