From 92858c7db24e51ca9dfde33f333ce4fac6edb931 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 12 Oct 2016 18:31:23 -0700 Subject: [PATCH] Fix docker documentation. --- docker-compose.yml | 8 ++++---- docs/Docker.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a4779803d..504bac1f8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: environment: MINIO_ACCESS_KEY: minio MINIO_SECRET_KEY: minio123 - command: minio1:/export minio2:/export minio3:/export minio4:/export + command: server minio1:/export minio2:/export minio3:/export minio4:/export minio2: image: minio/minio:edge ports: @@ -23,7 +23,7 @@ services: environment: MINIO_ACCESS_KEY: minio MINIO_SECRET_KEY: minio123 - command: minio1:/export minio2:/export minio3:/export minio4:/export + command: server minio1:/export minio2:/export minio3:/export minio4:/export minio3: image: minio/minio:edge ports: @@ -33,7 +33,7 @@ services: environment: MINIO_ACCESS_KEY: minio MINIO_SECRET_KEY: minio123 - command: minio1:/export minio2:/export minio3:/export minio4:/export + command: server minio1:/export minio2:/export minio3:/export minio4:/export minio4: image: minio/minio:edge ports: @@ -43,4 +43,4 @@ services: environment: MINIO_ACCESS_KEY: minio MINIO_SECRET_KEY: minio123 - command: minio1:/export minio2:/export minio3:/export minio4:/export + command: server minio1:/export minio2:/export minio3:/export minio4:/export diff --git a/docs/Docker.md b/docs/Docker.md index 27824079a..19cc1b8bd 100644 --- a/docs/Docker.md +++ b/docs/Docker.md @@ -5,7 +5,7 @@ Minio generates new access and secret keys each time you run this command. Conta ```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 \ -v /mnt/export/minio1:/export \ -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" \ -v /mnt/export/minio1:/export \ -v /mnt/config/minio1:/root/.minio \ - minio/minio /export + minio/minio server /export ```