Swarm: a Docker-native clustering system
Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host.
Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Flynn, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.
Like other Docker projects, Swarm follows the "batteries included but removable" principle. It ships with a set of simple scheduling backends out of the box, and as initial development settles, an API will be developed to enable pluggable backends. The goal is to provide a smooth out-of-the-box experience for simple use cases, and allow swapping in more powerful backends, like Mesos, for large scale production deployments.
Installation and documentation
Full documentation is available here.
You can download and install from source instead of using the Docker image.
Ensure you have golang, godep and git client installed. For example, on Ubuntu you'd run:
apt-get install golang git go get github.com/tools/godep
You may need to set
mkdir ~/gocode; export GOPATH=~/gocode.
Then install the
git clone https://github.com/docker/swarm cd swarm godep go install .
From here, you can follow the instructions in the main documentation,
docker run swarm with just
We welcome pull requests and patches; come say hi on IRC, #docker-swarm on freenode.
Our planning process and release cycle are detailed on the wiki
Copyright and license
Code and documentation copyright 2014-2015 Docker, inc. Code released under the Apache 2.0 license.
Docs released under Creative commons.
There is no documentation for this package.
Package cli provides a minimal framework for creating and organizing command line Go applications.
|Package cli provides a minimal framework for creating and organizing command line Go applications.|
Package context stores values shared during a request lifetime.
|Package context stores values shared during a request lifetime.|
Package gorilla/mux implements a request router and dispatcher.
|Package gorilla/mux implements a request router and dispatcher.|
objx - Go package for dealing with maps, slices, JSON and other data.
|objx - Go package for dealing with maps, slices, JSON and other data.|
A set of comprehensive testing tools for use with the normal Go testing system.
|A set of comprehensive testing tools for use with the normal Go testing system.|
Provides a system by which it is possible to mock your objects and verify calls are happening as expected.
|Provides a system by which it is possible to mock your objects and verify calls are happening as expected.|