diff --git a/README.md b/README.md index 41753bae6..d2c9bdbd1 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,8 @@ 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 \ - -p 9001:9001 \ - minio/minio server /data --console-address ":9001" +podman run -p 9000:9000 -p 9001:9001 \ + quay.io/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 @@ -259,5 +257,5 @@ mc admin update Please follow MinIO [Contributor's Guide](https://github.com/minio/minio/blob/master/CONTRIBUTING.md) # License -MinIO source is licensed under the GNU AGPLv3 license that can be found in the [LICENSE](https://github.com/minio/minio/blob/master/LICENSE) file. +MinIO source is licensed under the GNU AGPLv3 license that can be found in the [LICENSE](https://github.com/minio/minio/blob/master/LICENSE) file. MinIO [Documentation](https://github.com/minio/minio/tree/master/docs) © 2021 by MinIO, Inc is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). diff --git a/cmd/update.go b/cmd/update.go index dda344aca..8d196aa47 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -461,7 +461,7 @@ func getDownloadURL(releaseTag string) (downloadURL string) { // Check if we are docker environment, return docker update command if IsDocker() { // Construct release tag name. - return fmt.Sprintf("podman pull minio/minio:%s", releaseTag) + return fmt.Sprintf("podman pull quay.io/minio/minio:%s", releaseTag) } // For binary only installations, we return link to the latest binary. diff --git a/cmd/update_test.go b/cmd/update_test.go index a4f1e5e2d..02b254b19 100644 --- a/cmd/update_test.go +++ b/cmd/update_test.go @@ -92,8 +92,8 @@ func TestDownloadURL(t *testing.T) { minioVersion1 := releaseTimeToReleaseTag(UTCNow()) durl := getDownloadURL(minioVersion1) if IsDocker() { - if durl != "podman pull minio/minio:"+minioVersion1 { - t.Errorf("Expected %s, got %s", "podman pull minio/minio:"+minioVersion1, durl) + if durl != "podman pull quay.io/minio/minio:"+minioVersion1 { + t.Errorf("Expected %s, got %s", "podman pull quay.io/minio/minio:"+minioVersion1, durl) } } else { if runtime.GOOS == "windows" { diff --git a/docker-buildx.sh b/docker-buildx.sh index 9b403ff3b..8a875210c 100755 --- a/docker-buildx.sh +++ b/docker-buildx.sh @@ -11,6 +11,13 @@ docker buildx build --push --no-cache \ docker buildx prune -f +docker buildx build --push --no-cache \ + --build-arg RELEASE="${release}" -t "quay.io/minio/minio:latest" \ + --platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ + -f Dockerfile.release . + +docker buildx prune -f + docker buildx build --push --no-cache \ --build-arg RELEASE="${release}" -t "minio/minio:${release}" \ --platform=linux/arm64,linux/amd64,linux/ppc64le,linux/s390x \ diff --git a/docs/disk-caching/DESIGN.md b/docs/disk-caching/DESIGN.md index 5348bf627..94e80728a 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 --console-address ":9001" + -v /mnt/cache:/cache quay.io/minio/minio gateway s3 --console-address ":9001" ``` ## Assumptions diff --git a/docs/docker/README.md b/docs/docker/README.md index 9d6b3b9e3..a8c8e8028 100644 --- a/docs/docker/README.md +++ b/docs/docker/README.md @@ -12,7 +12,7 @@ docker run \ -p 9001:9001 \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ - minio/minio server /data --console-address ":9001" + quay.io/minio/minio server /data --console-address ":9001" ``` To create a MinIO container with persistent storage, you need to map local persistent directories from the host OS to virtual config `~/.minio` and export `/data` directories. To do this, run the below commands @@ -26,7 +26,7 @@ docker run \ -v /mnt/data:/data \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ - minio/minio server /data --console-address ":9001" + quay.io/minio/minio server /data --console-address ":9001" ``` #### Windows @@ -38,7 +38,7 @@ docker run \ -v D:\data:/data \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ - minio/minio server /data --console-address ":9001" + quay.io/minio/minio server /data --console-address ":9001" ``` ## Run Distributed MinIO on Docker @@ -58,7 +58,7 @@ docker run \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ -v /mnt/data:/data \ - minio/minio server /data --console-address ":9001" + quay.io/minio/minio server /data --console-address ":9001" ``` #### Windows @@ -70,7 +70,7 @@ docker run \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" \ -v D:\data:/data \ - minio/minio server /data --console-address ":9001" + quay.io/minio/minio server /data --console-address ":9001" ``` ### Run MinIO Docker as a regular user @@ -90,7 +90,7 @@ docker run \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLEKEY" \ -v ${HOME}/data:/data \ - minio/minio server /data + quay.io/minio/minio server /data ``` #### Windows @@ -107,7 +107,7 @@ docker run \ -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \ -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLEKEY" \ -v D:\data:/data \ - minio/minio server /data + quay.io/minio/minio server /data ``` ### MinIO Custom Access and Secret Keys using Docker secrets @@ -120,7 +120,7 @@ echo "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" | docker secret create secret_ke Create a MinIO service using `docker service` to read from Docker secrets. ``` -docker service create --name="minio-service" --secret="access_key" --secret="secret_key" minio/minio server /data +docker service create --name="minio-service" --secret="access_key" --secret="secret_key" quay.io/minio/minio server /data ``` Read more about `docker service` [here](https://docs.docker.com/engine/swarm/how-swarm-mode-works/services/) @@ -133,7 +133,7 @@ docker service create --name="minio-service" \ --secret="my_secret_key" \ --env="MINIO_ROOT_USER_FILE=my_access_key" \ --env="MINIO_ROOT_PASSWORD_FILE=my_secret_key" \ - minio/minio server /data + quay.io/minio/minio server /data ``` `MINIO_ROOT_USER_FILE` and `MINIO_ROOT_PASSWORD_FILE` also support custom absolute paths, in case Docker secrets are mounted to custom locations or other tools are used to mount secrets into the container. For example, HashiCorp Vault injects secrets to `/vault/secrets`. With the custom names above, set the environment variables to ``` diff --git a/docs/erasure/README.md b/docs/erasure/README.md index 6b919bd94..fec381583 100644 --- a/docs/erasure/README.md +++ b/docs/erasure/README.md @@ -59,7 +59,7 @@ podman run \ -v /mnt/data6:/data6 \ -v /mnt/data7:/data7 \ -v /mnt/data8:/data8 \ - minio/minio server /data{1...8} --console-address ":9001" + quay.io/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 2be21ee12..0892a1b9e 100644 --- a/docs/gateway/azure.md +++ b/docs/gateway/azure.md @@ -10,7 +10,7 @@ podman run \ --name azure-s3 \ -e "MINIO_ROOT_USER=azurestorageaccountname" \ -e "MINIO_ROOT_PASSWORD=azurestorageaccountkey" \ - minio/minio gateway azure --console-address ":9001" + quay.io/minio/minio gateway azure --console-address ":9001" ``` ### Using Binary diff --git a/docs/gateway/gcs.md b/docs/gateway/gcs.md index e5f977185..fda7b0bd7 100644 --- a/docs/gateway/gcs.md +++ b/docs/gateway/gcs.md @@ -29,7 +29,7 @@ podman run \ -e "GOOGLE_APPLICATION_CREDENTIALS=/credentials.json" \ -e "MINIO_ROOT_USER=minioaccountname" \ -e "MINIO_ROOT_PASSWORD=minioaccountkey" \ - minio/minio gateway gcs yourprojectid --console-address ":9001" + quay.io/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 e89fd6bb9..36fdcb235 100644 --- a/docs/gateway/hdfs.md +++ b/docs/gateway/hdfs.md @@ -29,7 +29,7 @@ podman run \ --name hdfs-s3 \ -e "MINIO_ROOT_USER=minio" \ -e "MINIO_ROOT_PASSWORD=minio123" \ - minio/minio gateway hdfs hdfs://namenode:8200 --console-address ":9001" + quay.io/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 256b16460..766943a4c 100644 --- a/docs/gateway/nas.md +++ b/docs/gateway/nas.md @@ -16,7 +16,7 @@ podman run \ -e "MINIO_ROOT_USER=minio" \ -e "MINIO_ROOT_PASSWORD=minio123" \ -v /shared/nasvol:/container/vol \ - minio/minio gateway nas /container/vol --console-address ":9001" + quay.io/minio/minio gateway nas /container/vol --console-address ":9001" ``` ### Using Binary diff --git a/docs/gateway/s3.md b/docs/gateway/s3.md index c28bacf49..98e06b172 100644 --- a/docs/gateway/s3.md +++ b/docs/gateway/s3.md @@ -13,7 +13,7 @@ podman run \ --name minio-s3 \ -e "MINIO_ROOT_USER=aws_s3_access_key" \ -e "MINIO_ROOT_PASSWORD=aws_s3_secret_key" \ - minio/minio gateway s3 --console-address ":9001" + quay.io/minio/minio gateway s3 --console-address ":9001" ``` ### Using Binary @@ -103,7 +103,7 @@ minio gateway s3 podman run -p 9000:9000 --name minio-s3 \ -e "MINIO_ROOT_USER=access_key" \ -e "MINIO_ROOT_PASSWORD=secret_key" \ - minio/minio gateway s3 https://s3_compatible_service_endpoint:port + quay.io/minio/minio gateway s3 https://s3_compatible_service_endpoint:port ``` ### Using Binary diff --git a/docs/orchestration/docker-compose/docker-compose.yaml b/docs/orchestration/docker-compose/docker-compose.yaml index ca56e91a3..93df60def 100644 --- a/docs/orchestration/docker-compose/docker-compose.yaml +++ b/docs/orchestration/docker-compose/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3.7' # Settings and configurations that are common for all containers x-minio-common: &minio-common - image: minio/minio:RELEASE.2021-08-31T05-46-54Z + image: quay.io/minio/minio:RELEASE.2021-08-31T05-46-54Z command: server --console-address ":9001" http://minio{1...4}/data{1...2} expose: - "9000"