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 offers a ready-to-use MinIO Object Storage solution that provides a host of benefits, including:
- Unlimited transfers.
- Simple, predictive, and transparent pricing.
- Customizable domain name secured with HTTPS (for example, https://object-storage.your-company.com).
- Effortless updates with just a click.
- Optimal performance and robust security powered by a private and dedicated VM.
- Available in 🇪🇺 Europe and 🇺🇸 USA.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's MinIO Object Storage hosting solution!
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.