This repository was archived by the owner on Jan 21, 2020. It is now read-only.
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
Confusing/Outdated LinuxKit tutorial #874
Open
Description
The tutorial/instructions for getting LinuxKit working are confusing and/or out of date.
The POC video:
https://www.youtube.com/watch?v=j50ovfRWpZM
appears to reference a demo playbook which does not exist.
The docs in the repo:
https://github.com/docker/infrakit/tree/master/docs/playbooks/linuxkit
don't create a valid/working playbook:
$ infrakit playbook add linuxkit https://docker.github.io/infrakit/playbooks/linuxkit/index.yml
WARN[02-18|19:31:30] Cannot build flags module=cli/playbook operation=scale-group url=https://docker.github.io/infrakit/playbooks/linuxkit/examples/sshd/hyperkit/scale-group.ikt err="template: https://docker.github.io/infrakit/playbooks/linuxkit/examples/sshd/hyperkit/scale-group.ikt:2: function \"managerCommit\" not defined" fn=github.com/docker/infrakit/pkg/cli/playbook.list
WARN[02-18|19:31:30] Cannot build flags module=cli/playbook operation=scale-group url=https://docker.github.io/infrakit/playbooks/linuxkit/examples/sshd/packet/scale-group.ikt err="template: https://docker.github.io/infrakit/playbooks/linuxkit/examples/sshd/packet/scale-group.ikt:2: function \"managerCommit\" not defined" fn=github.com/docker/infrakit/pkg/cli/playbook.list
found 1 commands cached file:///Users/mike/.infrakit/playbook-cache/linuxkit/infrakit/playbooks/linuxkit/index.yml
$ infrakit playbook ls
PLAYBOOK URL CACHE
linuxkit file:///Users/mike/build/infrakit/docs/playbooks/linuxkit/index.yml
$ infrakit playbook linuxkit -h
Manage playbooks
Usage:
infrakit playbook [command]
Available Commands:
add Add a playbook
ls List playbooks
rm Remove playbooks
update Update a cached playbook
Flags:
-q, --quiet Print rows without column headers
Global Flags:
--log int log level (default 4)
--log-caller include caller function (default true)
--log-debug-V int log debug verbosity level. 0=logs all
--log-debug-match stringSlice debug mode only -- select records with any of the k=v pairs
--log-debug-match-exclude True to exclude; otherwise only include matches
--log-format string log format: logfmt|term|json (default "term")
--log-stack include caller stack
--log-stdout log to stdout
Use "infrakit playbook [command] --help" for more information about a command.