I set garage via docker and it was not impossibly hard.
Main problem is that there isn’t an admin panel and you can’t login to the docker container via docker exec, so you have to write some python (or other language of your choice) to send requests to the API port to:
- Set the layout of your server
- Create an user
- Create a bucket
- Assign that bucket to your user
You can use docker exec with garage docker image.
I’m on mobile but I think you just need something like: docker exec containerid ./garage stats
This is correct, I already installed the minio cli, but when I came back and read this, I tried it out and yes, once garage is running in the container, you can
alias garage="docker exec -ti /garage"
so you can do the cli things like
garage bucket info test-bucket
or whatever. The--help
for thegarage
command is pretty great, which is good since they don’t write it up much in the docs.Ah maybe I was missing the ./ , it said garage not found on path (on mobile, can’t try)
Postman is great for sending api queries.
Thanks. I ended up going with Garage (in Docker), and installed the minio client cli for these tasks.