7,540
edits
Changes
Docker
,→Introduction
https://docs.docker.com/engine/swarm/swarm-tutorial/deploy-service/
==Create swarm==
<pre>
docker@manager:~$ docker swarm init --advertise-addr 192.168.42.118
Swarm initialized: current node (uzhpeg3ug0ip6f9o3l51c749y) is now a manager.
To add a worker to this swarm, run the following command:
docker swarm join --token SWMTKN-1-21qaw0xpv9tj2kjxbmj6jn2jqpbcjjkyeze2nno9yy0wvt0vp9-9k2yyit1x8a11ca50ejxalzhz 192.168.42.118:2377
To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
</pre>
=Kubernetes=