Files
linuxkit/projects/swarmd
Ian Campbell eaedbd454c Update containerd to 7fc91b05917e93d474fab9465547d44eacd10ce3
Update everything including the current
linuxkit/containerd:b1766e4c4c09f63ac4925a6e4612852a93f7e73b to the new
linuxkit/containerd:deaf5bf838bf7f131c2287ecff3ed9835b0497e2.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2017-05-31 17:05:24 +01:00
..
2017-05-12 19:48:52 +01:00
2017-04-04 16:00:03 +01:00

swarmd package

This adds a swarmd package for Moby which contains the standalone swarmkit orchestration daemon (swarmd) and CLI tool (swarmctl).

The package tracks [docker/swarmkit#1965][PR1965] which is a WIP PR adding a containerd executor to swarmkit.

With a suitable moby image (such as swarmd.yml from this directory) something like this should work:

runc exec swarmd swarmctl service create --image docker.io/library/nginx:alpine --name nginx
runc exec swarmd swarmctl service ls

TODO

Currently the swarm state directory needs to be at a path which is identical from the PoV of both the containerd and swarmd processes. For now this means that the swarmkit state is put in /var/lib/containerd/swarmd.

Bootstrapping a cluster needs more invesigation. Tokens and join addresses can currently only be passed on the swarmd command line which is inconvenient for automated image deployment.

Swarmkit [PR 1965][PR1965] also contains a number of TODOs which are not separately listed here.