mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
blueprints: Add blueprint for LCOW
See the README for instructions on how to use Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
cbc8d4a21c
commit
5dca5db06b
@ -19,6 +19,7 @@ the [examples/](../examples/) directory.
|
|||||||
- Packet.net
|
- Packet.net
|
||||||
- ...
|
- ...
|
||||||
|
|
||||||
|
|
||||||
### Docker for Mac
|
### 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.
|
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
|
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).
|
||||||
|
9
blueprints/lcow.yml
Normal file
9
blueprints/lcow.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
kernel:
|
||||||
|
image: linuxkit/kernel:4.11.9
|
||||||
|
cmdline: "console=ttyS0"
|
||||||
|
tar: none
|
||||||
|
init:
|
||||||
|
- linuxkit/init-lcow:ae67df4c4cabb35aae06898cb94fe03972a172e9
|
||||||
|
trust:
|
||||||
|
org:
|
||||||
|
- linuxkit
|
Loading…
Reference in New Issue
Block a user