mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
A toolkit for building secure, portable and lean operating systems for containers
Rather than hardcoding a single vsock<->docker.sock mapping allow arbitrary incoming connection forwarding between vsocks and unix domain sockets. The intention was to subsequently extend this further to support arbitrary forwarding of outgoing connections too and to use that to forward the syslog socket out to a vsock. This turned out not to be a good plan, partly since the syslog socket needs to be SOCK_DATAGRAM but vsocks only does SOCK_STREAM today (meaning we need some additional framing here) and partly because handling syslog forwarding in common code makes error logging in the common code somewhat trickier (logging syslog errors over syslog). So instead syslog will be handled as a special case in a following patch. However some vestiges of the original plan remain, e.g. the inForwards name and the net field in the forwards which could be unixgram but currently is only supporting unix(stream). In principal this patch could be dropped, but it adds some flexibility which might be useful in the future. 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.