Can operate Minio on Linux Ubuntu with S3CMD
docker run -d \
--restart always \
-p 9000:9000 \
-p 9091:9090 \
--name minio \
-v /mnt/storage:/data \
-e "MINIO_ROOT_USER=USER!" \
-e "MINIO_ROOT_PASSWORD=PASSWORD!" \
-e "MINIO_SERVER_URL=https://minio.example.org:9000" \
quay.io/minio/minio server /data --console-address ":9090"
- Can be accessed on http://minio.example.org:9091
apt install -y s3cmd
- Lets assume minio endpoint is on
172.20.1.219:9090
&172.20.1.219:9000
- We have create an
access_key
&secret_key
on minio GUI - Lets assume minio endpoint are not TLS, if TLS please change
use_https==True
nano ~/.s3cfg
# Setup endpoint
host_base = 172.20.1.219:9000
host_bucket = 172.20.1.219:9000
bucket_location = us-east-1
use_https = False
# Setup access keys
access_key = 9QFhbywA0VJgL1Rf
secret_key = fA2aGnp4BVuvDHYADI4JBHcrvMKGxmr1
# Enable S3 v4 signature APIs
signature_v2 = False
s3cmd ls