mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Removed references to docker-machine in Swarm guide (#4502)
This commit is contained in:
parent
b28d5fa633
commit
f59d7a04b4
@ -10,19 +10,20 @@ As of [Docker Engine v1.13.0](https://blog.docker.com/2017/01/whats-new-in-docke
|
|||||||
* Docker engine v1.13.0 running on a cluster of [networked host machines](https://docs.docker.com/engine/swarm/swarm-tutorial/#/three-networked-host-machines).
|
* Docker engine v1.13.0 running on a cluster of [networked host machines](https://docs.docker.com/engine/swarm/swarm-tutorial/#/three-networked-host-machines).
|
||||||
|
|
||||||
## 2. Create a Swarm
|
## 2. Create a Swarm
|
||||||
|
Create a swarm on the manager node by running
|
||||||
SSH into the machine supposed to serve as Swarm manager. If the machine is named `manager`, you can SSH by
|
|
||||||
|
|
||||||
```shell
|
|
||||||
docker-machine ssh manager
|
|
||||||
```
|
|
||||||
After logging in to the designated manager node, create the Swarm by
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker swarm init --advertise-addr <MANAGER-IP>
|
docker swarm init --advertise-addr <MANAGER-IP>
|
||||||
```
|
```
|
||||||
|
Once the swarm is initialized, you'll see the below response.
|
||||||
|
|
||||||
After the manager is up, [add worker nodes](https://docs.docker.com/engine/swarm/swarm-tutorial/add-nodes/) to the Swarm. Find detailed steps to create the Swarm on [Docker documentation site](https://docs.docker.com/engine/swarm/swarm-tutorial/create-swarm/).
|
```shell
|
||||||
|
docker swarm join \
|
||||||
|
--token SWMTKN-1-49nj1cmql0jkz5s954yi3oex3nedyz0fb0xx14ie39trti4wxv-8vxv8rssmk743ojnwacrr2e7c \
|
||||||
|
192.168.99.100:2377
|
||||||
|
```
|
||||||
|
|
||||||
|
You can now [add worker nodes](https://docs.docker.com/engine/swarm/swarm-tutorial/add-nodes/) to the swarm by running the above command. Find detailed steps to create the swarm on [Docker documentation site](https://docs.docker.com/engine/swarm/swarm-tutorial/create-swarm/).
|
||||||
|
|
||||||
## 3. Create Docker secrets for Minio
|
## 3. Create Docker secrets for Minio
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user