diff --git a/blueprints/README.md b/blueprints/README.md index 21a96ac71..cebbae73a 100644 --- a/blueprints/README.md +++ b/blueprints/README.md @@ -19,6 +19,7 @@ the [examples/](../examples/) directory. - Packet.net - ... + ### Docker for Mac An initial blueprint for the open source components of Docker for Mac is available in [docker-for-mac](docker-for-mac). The blueprint has support for controlling `dockerd` from the host via `vsudd` and port forwarding with VPNKit. It requires HyperKit, VPNKit and a Docker client on the host to run. The easiest way to install these at the moment is to install a recent version of Docker for Mac. @@ -42,3 +43,14 @@ $ docker -H unix://docker-for-mac-state/guest.00000947 ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ``` +### Linux Containers On Windows (LCOW) + +The [LCOW](./lcow.yml) file contains the blueprint for building a +minimal Linux kernel and initrd for Linux Containers on +Windows. Invoke it with `moby build lcow.yml` and you get a +`lcow-kernel` and `lcow-initrd.img`. Rename `lcow-kernel` to +`bootx64.efi` and `lcow-initrd.img` to `initrd.img` and then +follow +[these instructions](https://github.com/moby/moby/issues/33850). The +process for creating the image is +documented [here](https://github.com/Microsoft/opengcs). diff --git a/blueprints/lcow.yml b/blueprints/lcow.yml new file mode 100644 index 000000000..e2dc12e41 --- /dev/null +++ b/blueprints/lcow.yml @@ -0,0 +1,9 @@ +kernel: + image: linuxkit/kernel:4.11.9 + cmdline: "console=ttyS0" + tar: none +init: + - linuxkit/init-lcow:ae67df4c4cabb35aae06898cb94fe03972a172e9 +trust: + org: + - linuxkit