Ian Campbell dad42c8dc4 vsudd: Close via the File vsock not the raw fd.
Otherwise the underlying gets closed twice, once by the File's finalizer (which
occurs at whichever point vsock appears no longer used) and another time by the
syscall.Close(), which leads to EBADF. The various syscall.shutdown can also
suffer from this if the File happens to get finalized first, but the reference
in the defer'd function now keeps the File alive until we are truly done with
the socket.

This seems to resolve the random stalls and failures seen in "make test".

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-04-08 15:08:10 +01:00
2015-11-26 15:17:40 +00:00
2016-02-19 14:59:27 +00:00
2016-03-11 14:13:12 +00:00
2016-02-19 16:11:23 +00:00
2016-04-06 10:28:15 +01: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 242 MiB
Languages
Go 48.2%
text 21.2%
Shell 14.1%
Dockerfile 5.7%
OCaml 4.6%
Other 6.2%