1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00
Files
docs/swarm/reference/create.md
Gaetan c56964c890 fix type of keywords entry in frontmatter (in /swarm/ dir and search.md and release-notes.md) (#515)
keywords should be a string, not an array containing one string

Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
2016-11-10 11:59:37 -08:00

983 B
Raw Blame History

description, keywords, title
description keywords title
Create a Swarm manager. swarm, create create — Create a discovery token

The create command uses Docker Hub's hosted discovery backend to create a unique discovery token for your cluster. For example:

$ docker run --rm  swarm create
86222732d62b6868d441d430aee4f055

Later, when you use manage or join to create Swarm managers and nodes, you use the discovery token in the <discovery> argument (e.g., token://86222732d62b6868d441d430aee4f055). The discovery backend registers each new Swarm manager and node that uses the token as a member of your cluster.

Some documentation also refers to the discovery token as a cluster_id.

Warning: Docker Hub's hosted discovery backend is not recommended for production use. It’s intended only for testing/development.

For more information and examples about this and other discovery backends, see the Docker Swarm Discovery topic.