Skip to content

[Contributing FAQ] How do I run MinIO locally on my computer (as a standalone as opposed to running it on a pod)? #3381

Discussion options

You must be logged in to vote

This would be an alternative to setting up MinIO to run as a deployment in a Kubernetes cluster (we have instructions for that here: https://velero.io/docs/main/contributions/minio/).

Instructions to run standalone MinIO on Docker: https://docs.minio.io/docs/minio-docker-quickstart-guide

To create a MinIO container with persistent storage for GNU/Linux and macOS:

❯ docker run -p 9000:9000 \
    --name minio1 \
    -v /private/mnt/data:/data \
    -e "MINIO_ACCESS_KEY=minio" \
    -e "MINIO_SECRET_KEY=minio123" \
    minio/minio server /data

Note: you probably will need to create this directory structure and make sure it has write permission: /private/mnt/data. Here's some context for that:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by carlisia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant