Skip to content

garage (s3)

garage is an S3 API compatible object storage server which can be self-hosted, similar to minio.

see also self-hosted s3 compatible storage

getting started

The docs are quite good, here's an example how to get started using docker (compose).

create buckets

Assuming you deployed garage with docker using compose. The following will create a bucket, generate a access/secret key for this bucket and grants read, write, owner permissions to the key pair.

BUCKET_NAME=incoming
docker compose exec garage /garage bucket create $BUCKET_NAME
docker compose exec garage /garage key new --name $BUCKET_NAME
docker compose exec garage /garage bucket allow --read --write --owner $BUCKET_NAME --key $BUCKET_NAME