This is a demo playbook for working with LinuxKit.
- Make sure you have the
infrakit
CLI installed --
- Either build from source (see tutorial), or
- Use built containers and cross-compile locally -- see Quick Start.
- Add via the
playbook
command:
$ infrakit playbook add linuxkit https://docker.github.io/infrakit/playbooks/linuxkit/index.yml
$ infrakit playbook ls
PLAYBOOK URL
linuxkit https://docker.github.io/infrakit/playbooks/linuxkit/index.yml
The URL https://docker.github.io/infrakit/playbooks/linuxkit/index.yml
is for the file index.yml
that is being served by github pages. If you cloned the repo, you can speed up things by referencing
a local file via the file://
scheme in the URL.
Now verify:
$ infrakit use linuxkit -h
[this file]
Usage:
infrakit use linuxkit [command]
Available Commands:
demo-sshd demo-sshd
install-hyperkit install-hyperkit
install-moby install-moby
run-gcp run-gcp
run-hyperkit run-hyperkit
run-packet run-packet
start start
stop stop
[Global Flags]
Use "infrakit use linuxkit [command] --help" for more information about a command.
This playbook assumes you're running on a Mac, using Docker for Mac as the runtime for running the InfraKit plugins.