mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-08 14:22:18 +00:00
28 lines
985 B
Markdown
28 lines
985 B
Markdown
## Hyperkit/Moby Infrakit plugin
|
|
|
|
This is a Hyper/Kit Moby instance plugin for infrakit. The instance
|
|
plugin is capable to start/manage several hyperkit instances with with
|
|
different configurations and Moby configurations.
|
|
|
|
The plugin keeps state in a local directory (default
|
|
`.infrakit/hyperkit-vms`) where each instance keeps some state in a
|
|
sub-directory. The VM state directory can be specified at the kernel
|
|
command line using the `--vm-dir` option.
|
|
|
|
## Building
|
|
|
|
```sh
|
|
make
|
|
```
|
|
(you need a working docker installation...testing on Docker for Mac)
|
|
|
|
## Quickstart
|
|
|
|
To play round with the plugin, simply follow the [infrakit tutorial](https://github.com/docker/infrakit/blob/master/docs/tutorial.md) and replace the file instance plugin with:
|
|
```
|
|
./build/infrakit-instance-hyperkit
|
|
```
|
|
where `./vmlib` contains a sub-directory named `default` with a `vmlinuz64` and `initrd.img` image.
|
|
|
|
Instead of the `cattle.json` in the infrakit tutorial, use `hyperkit.json` in this directory.
|