mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-07 08:19:26 +00:00
dad42c8dc40d1b90fff6a47d00d8237f57d161b5
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>
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
Languages
Go
48.2%
text
21.2%
Shell
14.1%
Dockerfile
5.7%
OCaml
4.6%
Other
6.2%