Files
docker-docs/swarm/reference/create.md
Misty Stanley-Jones a4f5e30249 Various copyedits to reduce future tense, wordiness, and use of 'please' (#5788)
* Reword lots of instances of 'will'

* Reword lots of instances of won't

* Reword lots of instances of we'll

* Eradicate you'll

* Eradicate 'be able to' type of phrases

* Eradicate 'unable to' type of phrases

* Eradicate 'has / have to' type of phrases

* Eradicate 'note that' type of phrases

* Eradicate 'in order to' type of phrases

* Redirect to official Chef and Puppet docs

* Eradicate gratuitous 'please'

* Reduce use of e.g.

* Reduce use of i.e.

* Reduce use of N.B.

* Get rid of 'sexagesimal' and correct some errors
2018-01-25 17:37:23 -08:00

1.0 KiB
Raw Blame History

advisory, hide_from_sitemap, description, keywords, title
advisory hide_from_sitemap description keywords title
swarm-standalone true 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. For instance, 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. Its intended only for testing/development.

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