forked from docker-archive/deploykit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation update (docker-archive#564)
Signed-off-by: David Chung <[email protected]> * Update links Signed-off-by: David Chung <[email protected]>
- Loading branch information
David Chung
authored
May 25, 2017
1 parent
d30f4bf
commit 0ccd281
Showing
4 changed files
with
263 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,46 @@ | ||
LinuxKit Playbook | ||
================= | ||
|
||
This is a demo playbook for working with LinuxKit. | ||
This is a demo playbook for working with LinuxKit. | ||
|
||
## How to Add | ||
|
||
1. Make sure you have the `infrakit` CLI installed -- | ||
+ Either build from source (see [tutorial](../../tutorial.md)), or | ||
+ Use built containers and cross-compile locally -- see [Quick Start](../README.md). | ||
|
||
2. Add via the `playbook` command: | ||
|
||
```shell | ||
$ 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: | ||
```shell | ||
$ infrakit playbook linuxkit -h | ||
|
||
|
||
linuxkit | ||
|
||
Usage: | ||
infrakit playbook 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 | ||
``` | ||
|
||
This playbook assumes you're running on a Mac, using Docker for Mac as the runtime for running the InfraKit plugins. |
Oops, something went wrong.