mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-09 23:16:58 +00:00
7378c6e2820b42d91b81f86a3815372c9984e38f
uname -r
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>
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%