A toolkit for building secure, portable and lean operating systems for containers
Go to file
Ian Campbell 7dd7b0c0da vsudd: Forward syslog from /var/run/syslog.vsock to vsock 514
This is mac only (for now) and will not actually do anything until syslogd is
told to forward to /var/run/syslog.vsock.

syslog uses a SOCK_DGRAM connection to /var/run/syslog.vsock, however vsock
today is SOCK_STREAM only, so we need to "packetise" the stream. Do so by
writing the datagram length as a (little-endian) uint32 before the data itself.
This is slightly modelled after rfc6587 (syslog over TCP) but simplified by
using a 4-byte binary value rather than ASCII digits.

Arrange for vsudd to start before the logger so it is ready and waiting.

Note that the code in vsyslog.go needs to be rather careful about its own
logging, in particular logging forwarding failures over syslog seems likely to
make things worse. Instead this file logs to the console when errors occur,
this will be captured by the logging of the hyperkit VM console.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-07-04 14:47:02 +01:00
alpine vsudd: Forward syslog from /var/run/syslog.vsock to vsock 514 2016-07-04 14:47:02 +01:00
licensing Update to Alpine 3.4 2016-06-03 12:45:15 +01:00
requirements Initial requirements 2015-11-26 15:17:40 +00:00
scripts win: remove PS script and documentation. They live elsewhere now 2016-02-05 16:58:59 -08:00
xhyve fix some pedantic xhyve build issues with newer toolchain 2016-03-29 18:46:20 +01:00
.dockerignore add more dockerignores 2016-04-13 11:24:31 +01:00
Dockerfile.qemu we already have compressed initrd 2016-05-05 12:09:48 +01:00
Dockerfile.qemu.armhf more memory 2016-03-11 14:13:12 +00:00
Dockerfile.qemuiso add a qemu iso target 2016-02-19 16:11:23 +00:00
Makefile Make the qemu containers interactive so the console works 2016-06-18 21:47:31 +01:00
README.md update README for qemu, arm support 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.