MinIO
lastmod 2026-03-12created 2020-03-1919 edits
Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure. Minio is widely deployed across the world with over 109.6M+ docker pulls.
License warning
The last Apache license is up to the RELEASE.2021-04-22T15-44-28Z tag. After that, it switched to AGPL starting April 24, 2021.
An alternative is SeaweedFS.
Categories
- MinIO:Python - Python SDK
Simple example
docker run -p 9000:9000 --name minio \
-e "MINIO_ACCESS_KEY=minio" \
-e "MINIO_SECRET_KEY=minio123" \
-v /mnt/minio/export:/export \
-v /mnt/minio/config:/root/.minio \
minio/minio:RELEASE.2017-02-16T01-47-30Z server /export
Demo:
docker run --rm -p 9001:9001 -p 9000:9000 -v $PWD/data:/data -e "MINIO_ACCESS_KEY=minio" -e "MINIO_SECRET_KEY=minio123" quay.io/minio/minio server /data --console-address ":9001"
Docker-Compose
version: '3.8'
services:
minio:
image: minio/minio:RELEASE.2020-12-18T03-27-42Z
restart: always
volumes:
- recc_dev_minio_data:/data
ports:
- 9000:9000
environment:
- TZ=Asia/Seoul
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-recc}
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-recc1234}
command: ["server", "/data"]
healthcheck:
test: ["CMD", "curl", "-XGET", "-f", "http://localhost:9000/minio/health/live"]
interval: 10s
timeout: 5s
retries: 5
volumes:
recc_dev_minio_data:
Using CSV/JSON SQL queries
- Filtering and retrieving data using Amazon S3 Select
- (Hands-on example) Querying data without servers or databases using Amazon S3 Select
Troubleshooting
Docker secret key
Instead of MINIO_ACCESS_KEY and MINIO_SECRET_KEY, use MINIO_ACCESS_KEY_FILE and MINIO_SECRET_KEY_FILE.
This is not documented on DockerHub; checking the Dockerfile and the startup script (docker-entrypoint.sh) shows that they reference these environment variables.
List of Object Storage Softwares
- Cloud Service
See also
Favorite site
Pages that link here