MinIO: Using the MinIO CLI
This documentation is part of the Getting started guide. View the full guide here: How to begin using MinIO for S3-compatible object storage.
👋 Welcome to the Stackhero documentation!
Stackhero provides a ready-to-use MinIO Object Storage platform designed for reliability and speed. Key advantages include:
- Unlimited data transfers with no hidden costs.
- Simple, predictable, and transparent pricing.
- A custom domain name secured with HTTPS (for example, https://object-storage.your-company.com).
- One-click, seamless updates that require no manual intervention.
- High performance and security on private, dedicated infrastructure.
- Available in both 🇪🇺 Europe and 🇺🇸 USA regions.
Streamline your workflow and reduce setup time: you can deploy Stackhero's MinIO Object Storage hosting in just 5 minutes.
Your Stackhero for MinIO instance includes the MinIO Console web UI by default. For more advanced tasks, you may choose to use the MinIO CLI.
The simplest way to try the MinIO CLI is to run its Docker container. Follow these steps:
-
Start the container:
docker run -it --entrypoint=/bin/sh minio/mc -
Inside the container, add your server using the following command (replace the placeholder values accordingly):
mc alias set minio https://<XXXXXX>.stackhero-network.com <ROOT_ACCESS_KEY> <MINIO_ROOT_SECRET_KEY> -
Create a bucket named "test" to verify the setup:
mc mb minio/test -
List your buckets:
mc ls minio
You can view additional MinIO CLI commands by running mc --help.