mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
A toolkit for building secure, portable and lean operating systems for containers
This is less to do with installing modules (which we generally don't expect to use in Moby) but to populate /lib/modules/`uname -r`/modules.builtin which turns: moby:~# modprobe ip_vs modprobe: FATAL: Module ip_vs not found in directory /lib/modules/4.4.14-moby moby:~# modprobe nf_nat modprobe: FATAL: Module nf_nat not found in directory /lib/modules/4.4.14-moby moby:~# into: moby:~# modprobe ip_vs moby:~# modprobe nf_nat moby:~# which reduces the amount noise in the logs, e.g. in docker.log: time="2016-07-04T11:21:58Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: WARNING: Module nf_nat not found in directory /lib/modules/4.4.14-moby`, error: exit status 1" A fair number of these appear in the logs. This also stops various tools logging about /lib/modules/`uname -r` not existing (there was one in the boot log until recently I think) 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.