Fix docker documentation.

This commit is contained in:
Harshavardhana 2016-10-12 18:31:23 -07:00
parent fdaa129a5b
commit 92858c7db2
2 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ services:
environment: environment:
MINIO_ACCESS_KEY: minio MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio2: minio2:
image: minio/minio:edge image: minio/minio:edge
ports: ports:
@ -23,7 +23,7 @@ services:
environment: environment:
MINIO_ACCESS_KEY: minio MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio3: minio3:
image: minio/minio:edge image: minio/minio:edge
ports: ports:
@ -33,7 +33,7 @@ services:
environment: environment:
MINIO_ACCESS_KEY: minio MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export command: server minio1:/export minio2:/export minio3:/export minio4:/export
minio4: minio4:
image: minio/minio:edge image: minio/minio:edge
ports: ports:
@ -43,4 +43,4 @@ services:
environment: environment:
MINIO_ACCESS_KEY: minio MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123 MINIO_SECRET_KEY: minio123
command: minio1:/export minio2:/export minio3:/export minio4:/export command: server minio1:/export minio2:/export minio3:/export minio4:/export

View File

@ -5,7 +5,7 @@ Minio generates new access and secret keys each time you run this command. Conta
```sh ```sh
docker run -p 9000:9000 minio/minio /export docker run -p 9000:9000 minio/minio server /export
``` ```
@ -18,7 +18,7 @@ Minio container requires a persistent volume to store configuration and applicat
docker run -p 9000:9000 --name minio1 \ docker run -p 9000:9000 --name minio1 \
-v /mnt/export/minio1:/export \ -v /mnt/export/minio1:/export \
-v /mnt/config/minio1:/root/.minio \ -v /mnt/config/minio1:/root/.minio \
minio/minio /export minio/minio server /export
``` ```
@ -33,7 +33,7 @@ docker run -p 9000:9000 --name minio1 \
-e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ -e "MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \
-v /mnt/export/minio1:/export \ -v /mnt/export/minio1:/export \
-v /mnt/config/minio1:/root/.minio \ -v /mnt/config/minio1:/root/.minio \
minio/minio /export minio/minio server /export
``` ```