init: replace ctr with a custom client using the containerd client library

Currently it supports only `service start <SERVICE>`, but it could grow e.g.
`stop`, `exec` etc in the future (although you can still use `ctr` for those).

In order to be able to use go-compile.sh the containerd build needs to move
from /root/go to /go as the GOPATH.

The vendoring situation is not ideal, but since this tool wants to be an exact
match for the containerd it seems tollerable to reuse its vendoring.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
Ian Campbell
2017-06-13 16:27:54 +01:00
parent f7b2a739ee
commit 5833d1b6bc
50 changed files with 293 additions and 89 deletions

View File

@@ -4,7 +4,7 @@ kernel:
init:
- linuxkit/init:1b8a7e394d2ec2f1fdb4d67645829d1b5bdca037 # with runc, logwrite, startmemlogd
- linuxkit/runc:3a4e6cbf15470f62501b019b55e1caac5ee7689f
- linuxkit/containerd:b50181bc6e0084e5fcd6b6ad3cf433c4f66cae5a
- linuxkit/containerd:7858fceb91c26c1e2ae9d84ac1ea0c63bbe61e26
- linuxkit/ca-certificates:75cf419fb58770884c3464eb687ec8dfc704169d
- linuxkit/memlogd:9b5834189f598f43c507f6938077113906f51012
onboot: