Source repo for Docker's Documentation
Go to file
Victor Vieux 077489a948 Merge pull request #960 from ahmetalpbalkan/random
scheduler/random: Use private instance of rand
2015-06-15 18:13:20 -07:00
Godeps update dockerclient 2015-06-12 18:51:05 -07:00
api replica proxy: Improve error messages. 2015-06-12 13:27:35 -07:00
cli API: Cleanup router/proxy. 2015-06-11 20:41:27 -07:00
cluster Engine: fix panic in disconnect with events. 2015-06-12 18:51:05 -07:00
discovery add ttl placeholder to discovery 2015-06-10 17:03:48 -07:00
docs Updating for Hugo work 2015-06-14 16:07:37 -07:00
leadership Fix typo in leadership/README.md 2015-06-15 11:31:34 -07:00
pkg/store Merge pull request #867 from abronan/fix_etcd_sync 2015-06-05 15:56:37 -07:00
scheduler Merge pull request #960 from ahmetalpbalkan/random 2015-06-15 18:13:20 -07:00
script Add PutEphemeral test for Zookeeper, implement Close method in Store interface 2015-06-05 11:01:41 -07:00
state use cluster.ContainerConfig 2015-04-30 11:44:25 -07:00
test support only 1.6.0+ 2015-06-12 13:27:15 -07:00
version bump version to 0.3.0 2015-04-21 15:03:51 -07:00
.gitignore gitignore: Fix "swarm" pattern matching. 2015-05-11 16:56:08 -07:00
.godir update .godir 2014-11-18 21:47:00 +00:00
.travis.yml update travis go vet go cover 2015-06-12 18:35:05 -07:00
CONTRIBUTING.md tweak workflow for godep update 2015-03-25 20:18:02 +07:00
Dockerfile Dockerfile: Set swarm to bind to all interfaces in container mode. 2015-02-02 18:44:22 -08:00
ISSUE-TRIAGE.md Add documentation for issue-triaging in swarm 2015-06-06 21:11:56 +05:30
LICENSE use tcp:// in doc and update copyrights 2015-01-12 22:58:03 +00:00
README.md Add documentation for issue-triaging in swarm 2015-06-06 21:11:56 +05:30
ROADMAP.md Small spelling and capitalisation fixes 2015-05-27 15:22:36 +01:00
logo.png smaller logo 2014-12-03 11:47:55 +01:00
main.go Change existing discovery backends to 'kv' using metatada storage backends in the store package 2015-05-11 17:23:55 -07:00

README.md

Swarm: a Docker-native clustering system

GoDoc Build Status Coverage Status

Docker Swarm Logo

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.

Development installation

You can download and install from source instead of using the Docker image. Ensure you have golang, godep and the 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 $GOPATH, e.g mkdir ~/gocode; export GOPATH=~/gocode.

For example, on Mac OS X you'd run:

$ brew install go
$ export GOPATH=~/go
$ export PATH=$PATH:~/go/bin
$ go get github.com/tools/godep

Then install the swarm binary:

$ mkdir -p $GOPATH/src/github.com/docker/
$ cd $GOPATH/src/github.com/docker/
$ git clone https://github.com/docker/swarm
$ cd swarm
$ godep go install .

From here, you can follow the instructions in the main documentation, replacing docker run swarm with just swarm.

Participating

You can contribute to Docker Swarm in several different ways:

  • If you have comments, questions, or want to use your knowledge to help others, come join the conversation on IRC. You can reach us at #docker-swarm on Freenode.

  • To report a problem or request a feature, please file an issue

  • Of course, we welcome pull requests and patches. For information on making feature requests, follow the process suggested here.

Finally, if you want to see what we have for the future and learn more about our release cycles, all this information is detailed on the wiki

Creators

Andrea Luzzardi

Victor Vieux

Code and documentation copyright 2014-2015 Docker, inc. Code released under the Apache 2.0 license.

Docs released under Creative commons.