point all docs for containers to quay.io

This commit is contained in:
Harshavardhana 2021-09-01 18:48:26 -07:00
parent 0838732df3
commit f486cfae86
13 changed files with 31 additions and 26 deletions

View File

@ -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

View File

@ -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.

View File

@ -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" {

View File

@ -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 \

View File

@ -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

View File

@ -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
```

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"