docs: Modified the Docker doc to reflect distributed release image & (#3362)

modification.
master
koolhead17 8 years ago committed by Dee Koder
parent 01f625824a
commit 694bad434c
  1. 2
      docs/docker/README.md
  2. 8
      docs/docker/docker-compose.yml

@ -39,8 +39,6 @@ docker run -p 9000:9000 --name minio1 \
## 4. Test Distributed Minio on Docker ## 4. Test Distributed Minio on Docker
Currently Minio distributed version is under testing. We do not recommend using it in production.
This example shows how to run 4 node Minio cluster inside different docker containers using [docker-compose](https://docs.docker.com/compose/). Please download [docker-compose.yml](https://raw.githubusercontent.com/minio/minio/master/docs/docker/docker-compose.yml) to your current working directory, docker-compose pulls the Minio Docker image with label ``edge``. This example shows how to run 4 node Minio cluster inside different docker containers using [docker-compose](https://docs.docker.com/compose/). Please download [docker-compose.yml](https://raw.githubusercontent.com/minio/minio/master/docs/docker/docker-compose.yml) to your current working directory, docker-compose pulls the Minio Docker image with label ``edge``.
### Run `docker-compose` ### Run `docker-compose`

@ -5,7 +5,7 @@ version: '2'
# 9001 through 9004. # 9001 through 9004.
services: services:
minio1: minio1:
image: minio/minio:edge image: minio/minio
ports: ports:
- "9001:9000" - "9001:9000"
environment: environment:
@ -13,7 +13,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio2: minio2:
image: minio/minio:edge image: minio/minio
ports: ports:
- "9002:9000" - "9002:9000"
environment: environment:
@ -21,7 +21,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio3: minio3:
image: minio/minio:edge image: minio/minio
ports: ports:
- "9003:9000" - "9003:9000"
environment: environment:
@ -29,7 +29,7 @@ services:
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport command: server http://minio1/myexport http://minio2/myexport http://minio3/myexport http://minio4/myexport
minio4: minio4:
image: minio/minio:edge image: minio/minio
ports: ports:
- "9004:9000" - "9004:9000"
environment: environment:

Loading…
Cancel
Save