A toolkit for building secure, portable and lean operating systems for containers
Go to file
Riyaz Faizullabhoy 0fa083b3df reports: nit typo fixes
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-13 10:23:21 +00:00
base Merge pull request #1281 from justincormack/sysctl-extras 2017-03-10 17:28:03 +00:00
docs docs: Update kernel patches documentation 2017-03-07 19:42:23 +00:00
ebpf Move ebpf to top level 2017-02-01 10:58:52 +00:00
kernel Add back code to push kernel to hub 2017-03-07 23:48:46 +00:00
pkg Out with the old, in with the new Moby 2017-03-06 22:28:41 +00:00
reports reports: nit typo fixes 2017-03-13 10:23:21 +00:00
scripts hoist kernel cmdline into moby.yaml 2017-03-09 14:29:40 -08:00
tools Add qcow2 output support 2017-03-10 16:38:37 +00:00
vendor Rough first version of the moby tool 2017-02-20 21:44:23 +00:00
.datakitci.json Out with the old, in with the new Moby 2017-03-06 22:28:41 +00:00
.gitignore Add qcow2 output support 2017-03-10 16:38:37 +00:00
config.go hoist kernel cmdline into moby.yaml 2017-03-09 14:29:40 -08:00
main.go better debugging output in more error cases 2017-03-09 14:29:40 -08:00
Makefile Merge pull request #1264 from tych0/hoist-kernel-cmdline 2017-03-09 22:34:30 +00:00
moby.yaml Fix cut and paste typo in startup code 2017-03-10 17:13:16 +00:00
output.go Add qcow2 output support 2017-03-10 16:38:37 +00:00
README.md Add some more info about config file 2017-03-07 13:39:45 +00:00
test.yaml Fix cut and paste typo in startup code 2017-03-10 17:13:16 +00:00
vendor.conf Rough first version of the moby tool 2017-02-20 21:44:23 +00:00

Moby, a toolkit for custom Linux distributions

Simple build instructions: use make to build.

make qemu will boot up a sample in qemu in a container; on OSX make hyperkit will boot up in hyperkit. make test or make hyperkit-test will run the test suite.

Requires GNU make, GNU or BSD tar (not Busybox tar) and Docker to build.

To customise, copy or modify the moby.yaml and then run ./bin/moby file.yaml to generate. You can run the output with ./scripts/qemu.sh or ./scripts/hyperkit.sh.

The Yaml format is loosely based on Docker Compose:

  • kernel specifies a kernel Docker image, containing a kernel and a filesystem tarball, eg containing modules. mobylinux/kernel is built from kernel/
  • init is the base init process Docker image, which is unpacked as the base system, containing init, containerd, runc and a few tools. Built from base/init/
  • system are the system containers, executed sequentially in order. They should terminate quickly when done.
  • daemon is the system daemons, which normally run for the whole time
  • files are additional files to add to the image
  • outputs are descriptions of what to build, such as ISOs.

For the images, you can specify the configuration much like Compose, with some changes, eg capabilities must be specified in full, rather than add and drop, and there are no voluems only binds.

The config is liable to be changed, eg there are missing features (specification of kernel command line, more options etc).