diff --git a/README.md b/README.md index 989245a0c..81df20be8 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,10 @@ for more complete documentation. Run the following command to run the latest stable image of MinIO as a container using an ephemeral data volume: ```sh -podman run -p 9000:9000 minio/minio server /data +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + minio/minio server /data --console-address ":9001" ``` The MinIO deployment starts using default root credentials `minioadmin:minioadmin`. You can test the deployment using the MinIO Console, an embedded diff --git a/docs/disk-caching/DESIGN.md b/docs/disk-caching/DESIGN.md index e57964b8a..5348bf627 100644 --- a/docs/disk-caching/DESIGN.md +++ b/docs/disk-caching/DESIGN.md @@ -61,7 +61,7 @@ sudo mount -o relatime /tmp/data /mnt/cache podman run --net=host -e MINIO_ROOT_USER={s3-access-key} -e MINIO_ROOT_PASSWORD={s3-secret-key} \ -e MINIO_CACHE_DRIVES=/cache -e MINIO_CACHE_QUOTA=99 -e MINIO_CACHE_AFTER=0 \ -e MINIO_CACHE_WATERMARK_LOW=90 -e MINIO_CACHE_WATERMARK_HIGH=95 \ - -v /mnt/cache:/cache minio/minio:latest gateway s3 + -v /mnt/cache:/cache minio/minio:latest gateway s3 --console-address ":9001" ``` ## Assumptions diff --git a/docs/erasure/README.md b/docs/erasure/README.md index 404bfb9b2..6b919bd94 100644 --- a/docs/erasure/README.md +++ b/docs/erasure/README.md @@ -44,10 +44,13 @@ Example: Start MinIO server in a 12 drives setup, using MinIO binary. minio server /data{1...12} ``` -Example: Start MinIO server in a 8 drives setup, using MinIO Docker image. +Example: Start MinIO server in a 8 drives setup, using MinIO Docker image. ```sh -podman run -p 9000:9000 --name minio \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name minio \ -v /mnt/data1:/data1 \ -v /mnt/data2:/data2 \ -v /mnt/data3:/data3 \ @@ -56,7 +59,7 @@ podman run -p 9000:9000 --name minio \ -v /mnt/data6:/data6 \ -v /mnt/data7:/data7 \ -v /mnt/data8:/data8 \ - minio/minio server /data{1...8} + minio/minio server /data{1...8} --console-address ":9001" ``` ### 3. Test your setup diff --git a/docs/gateway/azure.md b/docs/gateway/azure.md index ec1201f0c..2be21ee12 100644 --- a/docs/gateway/azure.md +++ b/docs/gateway/azure.md @@ -4,10 +4,13 @@ MinIO Gateway adds Amazon S3 compatibility to Microsoft Azure Blob Storage. ## Run MinIO Gateway for Microsoft Azure Blob Storage ### Using Docker ``` -podman run -p 9000:9000 --name azure-s3 \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name azure-s3 \ -e "MINIO_ROOT_USER=azurestorageaccountname" \ -e "MINIO_ROOT_PASSWORD=azurestorageaccountkey" \ - minio/minio gateway azure + minio/minio gateway azure --console-address ":9001" ``` ### Using Binary diff --git a/docs/gateway/gcs.md b/docs/gateway/gcs.md index 54e6549a0..e5f977185 100644 --- a/docs/gateway/gcs.md +++ b/docs/gateway/gcs.md @@ -21,12 +21,15 @@ MinIO GCS Gateway allows you to access Google Cloud Storage (GCS) with Amazon S3 ### 1.2 Run MinIO GCS Gateway Using Docker ```sh -podman run -p 9000:9000 --name gcs-s3 \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name gcs-s3 \ -v /path/to/credentials.json:/credentials.json \ -e "GOOGLE_APPLICATION_CREDENTIALS=/credentials.json" \ -e "MINIO_ROOT_USER=minioaccountname" \ -e "MINIO_ROOT_PASSWORD=minioaccountkey" \ - minio/minio gateway gcs yourprojectid + minio/minio gateway gcs yourprojectid --console-address ":9001" ``` ### 1.3 Run MinIO GCS Gateway Using the MinIO Binary diff --git a/docs/gateway/hdfs.md b/docs/gateway/hdfs.md index 824b5d938..e89fd6bb9 100644 --- a/docs/gateway/hdfs.md +++ b/docs/gateway/hdfs.md @@ -23,11 +23,13 @@ minio gateway hdfs hdfs://namenode:8200 ### Using Docker Using docker is experimental, most Hadoop environments are not dockerized and may require additional steps in getting this to work properly. You are better off just using the binary in this situation. ``` -podman run -p 9000:9000 \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ --name hdfs-s3 \ -e "MINIO_ROOT_USER=minio" \ -e "MINIO_ROOT_PASSWORD=minio123" \ - minio/minio gateway hdfs hdfs://namenode:8200 + minio/minio gateway hdfs hdfs://namenode:8200 --console-address ":9001" ``` ### Setup Kerberos diff --git a/docs/gateway/nas.md b/docs/gateway/nas.md index 4cf89f038..256b16460 100644 --- a/docs/gateway/nas.md +++ b/docs/gateway/nas.md @@ -9,11 +9,14 @@ MinIO Gateway adds Amazon S3 compatibility to NAS storage. You may run multiple Please ensure to replace `/shared/nasvol` with actual mount path. ``` -podman run -p 9000:9000 --name nas-s3 \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name nas-s3 \ -e "MINIO_ROOT_USER=minio" \ -e "MINIO_ROOT_PASSWORD=minio123" \ -v /shared/nasvol:/container/vol \ - minio/minio gateway nas /container/vol + minio/minio gateway nas /container/vol --console-address ":9001" ``` ### Using Binary diff --git a/docs/gateway/s3.md b/docs/gateway/s3.md index beb119dbd..c28bacf49 100644 --- a/docs/gateway/s3.md +++ b/docs/gateway/s3.md @@ -7,10 +7,13 @@ As a prerequisite to run MinIO S3 gateway, you need valid AWS S3 access key and ### Using Docker ``` -podman run -p 9000:9000 --name minio-s3 \ +podman run \ + -p 9000:9000 \ + -p 9001:9001 \ + --name minio-s3 \ -e "MINIO_ROOT_USER=aws_s3_access_key" \ -e "MINIO_ROOT_PASSWORD=aws_s3_secret_key" \ - minio/minio gateway s3 + minio/minio gateway s3 --console-address ":9001" ``` ### Using Binary diff --git a/docs/sts/etcd.md b/docs/sts/etcd.md index e164c5c8f..9d5615b5d 100644 --- a/docs/sts/etcd.md +++ b/docs/sts/etcd.md @@ -10,7 +10,7 @@ etcd uses [gcr.io/etcd-development/etcd](https://console.cloud.google.com/gcr/im ``` rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \ - docker rmi gcr.io/etcd-development/etcd:v3.3.9 || true && \ + podman rmi gcr.io/etcd-development/etcd:v3.3.9 || true && \ podman run \ -p 2379:2379 \ -p 2380:2380 \