mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 21:42:39 +00:00
A toolkit for building secure, portable and lean operating systems for containers
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> |
||
---|---|---|
alpine | ||
licensing | ||
requirements | ||
scripts | ||
xhyve | ||
.dockerignore | ||
Dockerfile.qemu | ||
Dockerfile.qemu.armhf | ||
Dockerfile.qemuiso | ||
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.