mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
A toolkit for building secure, portable and lean operating systems for containers
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> |
||
---|---|---|
alpine | ||
remora | ||
requirements | ||
scripts | ||
xhyve | ||
.dockerignore | ||
Dockerfile.qemu | ||
Dockerfile.qemu.armhf | ||
Dockerfile.remora | ||
Makefile | ||
README.md |
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.