Has anyone got some experience/advice for choosing between the options? It seems like they are:

My usecase is just to have a local single instance for testing apps against. I prefer to spin stuff up in Docker on the homelab.

  • johntash@eviltoast.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    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

    • thirdBreakfast@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      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 <container name> /garage"
      

      so you can do the cli things like garage bucket info test-bucket or whatever. The --help for the garage command is pretty great, which is good since they don’t write it up much in the docs.

    • Moonrise2473
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      Ah maybe I was missing the ./ , it said garage not found on path (on mobile, can’t try)