latest
,RELEASE.<date>
,alpine
,alpine-RELEASE.<date>
(Dockerfile)scratch
,scratch-RELEASE.<date>
(Dockerfile)
MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads.
MinIO running on baremetal hardware, Docker and Kubernetes.
-
$ docker run --name minio -v $(pwd)/minio-data:/data:rw -p 9000:9000 -p 9001:9001 -e "MINIO_ROOT_USER=minio" -e "MINIO_ROOT_PASSWORD=minio123" -d tobi312/minio:latest server --console-address ":9001" /data
-
Environment Variables:
MINIO_ROOT_USER
(set user)MINIO_ROOT_PASSWORD
(set password)- optional: user/group in container instead root:
MINIO_USERNAME
andMINIO_GROUPNAME
(set user and group name, exampleminio
)MINIO_UID
andMINIO_GID
(set ID for user and group, example1000
)
- optional: MinIO Console behind a load balancer, proxy or k8s ingress (*)
MINIO_SERVER_URL
MINIO_BROWSER_REDIRECT_URL
More Information see official MinIO Documentation !
version: "2.4"
services:
minio:
image: tobi312/minio:latest
container_name: minio
#restart: unless-stopped
ports:
- "9000:9000" # Buckets
- "9001:9001" # Console
volumes:
- ./minio-data:/data:rw
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: ["server", "--address", ":9000", "--console-address", ":9001", "/data"]
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:9000/minio/health/live"]
interval: 60s
timeout: 10s
retries: 3