
The garage admin web UI is new in Garage v2.6.0, and the release note gives it one line of text. This post fills in what that line leaves out: a Docker start that keeps the admin port off your network, a scoped admin token, and a bucket and key checked with a real S3 client. The tested commands ran on v2.6.0. Where a line did not run as written, the post says so.
What the garage admin web UI is, and what it is not
The UI is served on the admin API port. The examples use 3903 for that port. The configuration reference gives no default for the admin bind address, so 3903 is the value this post sets, not a built-in default. A request to / on that port returns a 302 redirect to /ui/, which serves the app. The standard image has the feature compiled in: garage --version lists webadmin.
It is not the S3 web endpoint. Port 3902 is the [s3_web] service, which publishes bucket contents as static websites. If you came here looking for a "garage s3 web ui" or a "garage object storage web ui", that service is the wrong one. The admin UI lives on the admin port and manages the cluster. For objects, use the S3 API, as in Step 4.
Garage v2.6.0 how to install: requirements and version check
You need Docker and a bash shell. The Garage download page lists no Windows binaries, so on Windows the path is Docker Desktop or WSL2. We tested Docker Desktop 29.1.2 on Windows 11 Pro, driven from Git Bash. We did not run Garage under WSL2, so if you go that way, verify each step yourself. Linux and macOS users should be able to run the same bash commands, but we only ran them on Windows. If docker run and volumes are new to you, read the Docker full course 2026 first.
Pull the image and check the build features:
docker pull dxflrs/garage:v2.6.0
docker run --rm dxflrs/garage:v2.6.0 /garage --versionThe second command prints this on v2.6.0 (tested):
garage v2.6.0 [features: bundled-libs, consul-discovery, fjall, journald, k2v, kubernetes-discovery, lmdb, metrics, sqlite, syslog, telemetry-otlp, webadmin]On Git Bash, run export MSYS_NO_PATHCONV=1 once in the session. Without it, Git Bash rewrites /garage into a Windows path, and the container fails to start. Our runs set it on each docker command; the export is the same setting. PowerShell was not tested.
Step 1: write garage.toml with the [admin] section
Write the config with a heredoc, the same pattern covered in our Linux pipes and redirection hands-on guide. The unquoted EOF means the $(openssl ...) parts are expanded when the file is written.
cat > garage.toml <<EOF
metadata_dir = "/var/lib/garage/meta"
data_dir = "/var/lib/garage/data"
db_engine = "sqlite"
replication_factor = 1
rpc_bind_addr = "[::]:3901"
rpc_public_addr = "127.0.0.1:3901"
rpc_secret = "$(openssl rand -hex 32)"
[s3_api]
s3_region = "garage"
api_bind_addr = "[::]:3900"
[admin]
api_bind_addr = "[::]:3903"
admin_token = "$(openssl rand -base64 32)"
EOFThree things to note. The admin_token is a plain value in this file, so keep garage.toml out of Git. The output of openssl rand -base64 32 can contain + and /; both are valid inside a TOML basic string. And the file sets db_engine = "sqlite". The configuration reference says LMDB is the default but is prone to corruption after an unclean shutdown, such as a process kill or a power loss. It also says SQLite is slower and not the best choice for high-performance clusters. For a single test node, that trade-off favours SQLite.
Step 2: garage docker run with the admin port on localhost
The start command is where many people leave the admin port open to the whole network. The quick start publishes -p 3903:3903, which listens on every interface. The admin API takes a bearer token, so this post binds the admin port to 127.0.0.1 instead. The data goes into a named volume, because the quick start says its command does not create persistent volumes for Garage data.
docker run -d --name garage \
-p 127.0.0.1:3900:3900 -p 127.0.0.1:3903:3903 \
-v "$PWD/garage.toml:/etc/garage.toml" \
-v garage-data:/var/lib/garage \
dxflrs/garage:v2.6.0 /garage server --single-nodeAdd :z to the config mount only on SELinux hosts; Docker Desktop also accepted it in our test.
Confirm the ports and the startup log. The docker logs line is a standard Docker command; the log line quoted below is from the tested run.
docker port garage
docker logs garageOn the tested run, docker port showed 3900/tcp -> 127.0.0.1:3900 and 3903/tcp -> 127.0.0.1:3903, and the log included Created initial layout for single-node configuration.
Set the admin token with an environment variable instead
The block above keeps the token in the config file. You can pass it as GARAGE_ADMIN_TOKEN instead. We tested that with a config file that has no admin_token and no rpc_secret; the RPC secret then goes in GARAGE_RPC_SECRET. The config file in that test used LMDB. Before you run this variant, remove the admin_token and rpc_secret lines from the Step 1 file, or mount a separate file. The line that sets ADMIN_TOKEN was not run as a separate step.
# ADMIN_TOKEN is a random string you generated, for example with: openssl rand -base64 32
docker run -d --name garage \
-p 127.0.0.1:3900:3900 -p 127.0.0.1:3903:3903 \
-e GARAGE_RPC_SECRET="$(openssl rand -hex 32)" \
-e GARAGE_ADMIN_TOKEN="$ADMIN_TOKEN" \
-v "$PWD/garage.toml:/etc/garage.toml:z" \
-v garage-data:/var/lib/garage \
dxflrs/garage:v2.6.0 /garage server --single-nodeStep 3: check the redirect and sign in with the admin token
Open the garage admin web UI at http://127.0.0.1:3903/ in a browser and you land on /ui/. The UI needs JavaScript, and the page says so. The garage web admin login is that browser step. We confirmed that the page loads and that the admin API accepts the bearer token. We did not click through the login form in a browser, so check the sign-in screen yourself. The curl checks below test the same token without a browser.
curl -sI http://127.0.0.1:3903/ | grep -i '^location'
ADMIN_TOKEN=$(sed -n 's/^admin_token = "\(.*\)"/\1/p' garage.toml)
curl -s -o /dev/null -w "%{http_code}\n" -H "Authorization: Bearer $ADMIN_TOKEN" http://127.0.0.1:3903/v2/GetClusterStatus
curl -s -w " [%{http_code}]\n" http://127.0.0.1:3903/v2/GetClusterStatus
curl -s -w " [%{http_code}]\n" -H "Authorization: Bearer wrong" http://127.0.0.1:3903/v2/GetClusterStatusUntested as written: the header check (the first line, with its grep), the sed token extraction, and the ADMIN_TOKEN assignment. The results below come from tested checks against the same endpoints.
- Root URL: a 302 with
location: /ui/. The/ui/path returns 200 with HTML. - Config token:
200. - No Authorization header:
403withForbidden: Bearer token must be provided in Authorization header. - Wrong token:
403withForbidden: Invalid bearer token.
Create a scoped admin token for the garage admin API
The default is the trap here. garage admin-token create with no options gives the token the scope *, which covers every admin function, and it has no expiry. The CLI help also says that a scope containing CreateAdminToken or UpdateAdminToken is equivalent to *, so do not grant those to a token you want limited. The config token shows up in admin-token list with scope * and expiry never.
Create a token with a one-hour expiry and a short scope list. The --expires-in and --scope flags were each accepted in tested runs; this exact combined line was not run in one go.
docker exec garage /garage admin-token create -q --expires-in 1h --scope GetClusterStatus status-only
docker exec garage /garage admin-token listThe -q flag prints only the token. Garage shows the secret once and says it will never show it again, so copy it into your secret store when it prints.
Test the scope. Put the printed token into SCOPED, then call one endpoint the token covers and one it does not:
SCOPED=<token printed by admin-token create>
curl -s -w " [%{http_code}]\n" -H "Authorization: Bearer $SCOPED" http://127.0.0.1:3903/v2/GetClusterStatus
curl -s -w " [%{http_code}]\n" -H "Authorization: Bearer $SCOPED" http://127.0.0.1:3903/v2/ListBucketsOn the tested run, the first call returned 200 and the second returned 403 with Forbidden: Invalid bearer token. That 403 text is the same one a wrong token gets. When a call fails, check the token's scope list before you rotate the token.
Step 4: create a bucket and key, then test with an S3 client
The quick start uses garage bucket create, garage key create, and garage bucket allow with the read, write and owner flags. Run them through the container:
docker exec garage /garage bucket create demo-bucket
docker exec garage /garage key create demo-app-key
docker exec garage /garage bucket allow --read --write --owner demo-bucket --key demo-app-key
docker exec garage /garage key info demo-app-key --show-secretThe key ID starts with GK. The last command prints the key ID and the secret. Copy the secret into your environment and keep it out of shell history and Git. Do not reuse a fixed key from an example config; a key that appears in public docs is public.
For the S3 check we used boto3 1.43.108 under Python. Install it with pip install boto3 (the install line itself was not run in our test). Save this as s3_test.py. The logic is the tested script; the environment-variable reads and the print labels were changed for this post and were not re-run:
import os
import boto3
from botocore.config import Config
s3 = boto3.client(
"s3",
endpoint_url="http://127.0.0.1:3900",
region_name="garage",
aws_access_key_id=os.environ["GARAGE_KEY_ID"],
aws_secret_access_key=os.environ["GARAGE_SECRET"],
config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)
s3.put_object(Bucket="demo-bucket", Key="hello.txt", Body=b"hello from garage")
print("put ok")
body = s3.get_object(Bucket="demo-bucket", Key="hello.txt")["Body"].read().decode()
print("get: " + body)
keys = [o["Key"] for o in s3.list_objects_v2(Bucket="demo-bucket").get("Contents", [])]
print("list: " + str(keys))Set the two variables from the key info output and run it with -I. That flag stops Python from importing modules from the current folder, so a stray boto3.py in your project cannot shadow the library.
export GARAGE_KEY_ID=<Key ID from key info>
export GARAGE_SECRET=<Secret key from key info>
python -I s3_test.pyExpected output on the tested run:
put ok
get: hello from garage
list: ['hello.txt']The S3 calls go to port 3900, which is why the run command publishes it on 127.0.0.1 too. Path-style addressing and region garage are set in the client config as written above.
Web UI vs CLI vs admin API: which access path to use
Three access paths reach the same cluster. The garage admin web UI is one of them, and this post uses it the least.
| Path | Where it lives | Auth | Good for | Caveat |
|---|---|---|---|---|
| Web UI | /ui/ on the admin port (3903 in these examples) | Admin token; login form not clicked in our test | Looking at the cluster in a browser | Needs JavaScript. Not used for any step in this post |
| CLI | docker exec garage /garage ... | None passed; every CLI command in this post ran without a token argument | Buckets, keys, tokens, convert-db | Needs shell access to the host running Docker |
| Admin API | /v2/... on the admin port | Authorization: Bearer <token> on every call | Scripts and monitoring, with scoped tokens | Plain HTTP sends the token unencrypted, so keep it on localhost or behind HTTPS |
Lock down the admin port
Apply three layers, in this order. First, bind the admin port to localhost, as Step 2 does. Second, if you need access from another machine, put an HTTPS reverse proxy in front of the port. This is our recommendation and we did not test a proxy setup. Third, reach the port over a VPN rather than a public interface. The reason is the header: every admin call sends Authorization: Bearer <token>, so a token sent over plain HTTP off localhost can be read by anyone on the path.
When to use Garage and when not to
- Use it when you want an S3-compatible store you run yourself, and the calls you need (bucket create, key, put, get, list) are the ones tested above.
- Not for S3 object versioning. The project says neither v2.6.0 nor v3.0.0 beta 1 includes it, and that the work is planned for 2027. We did not test versioning.
- Not for strict object locking (WORM). The project says locking cannot be fully correct because Garage has no consensus algorithm, and that it will sit behind a feature flag. If you need legal-hold style guarantees, use a managed service. Our cloud object storage comparison: AWS S3 vs Azure Blob vs GCP Storage covers the managed options.
- Multi-node admin web UI. We ran only a single node. The config reference says
replication_factormust not exceed the node count. We did not test the admin UI against a multi-node cluster. - Kubernetes. The project publishes a Helm chart. The official repository index lists chart
garage0.10.7 with app version v2.6.0. We did not install it. If you are new to Kubernetes, start with learn Kubernetes in 6 hours.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| 403 "Bearer token must be provided in Authorization header" | The request has no Authorization header | Add -H "Authorization: Bearer $TOKEN" |
| 403 "Invalid bearer token" on an endpoint the token should cover | Wrong token, or the token's scope does not include that endpoint | Run admin-token list and compare the scope column. Both causes return the same message |
| "Found argument 'convert-db' which wasn't expected" | Used garage node convert-db | Use top-level garage convert-db in v2.6.0 |
Container fails; /garage shows up as C:/Program Files/Git/garage | Git Bash path conversion | Set MSYS_NO_PATHCONV=1 before the docker command |
| UI page says it does not work without JavaScript | JavaScript is off in the browser | Enable JavaScript for the admin host |
| Admin port unreachable from the host | Port not published, or published to another address | Run docker port garage and confirm 127.0.0.1:3903 |
| Nothing useful on port 3902 | Port 3902 serves bucket websites, not the admin UI | Use port 3903 and /ui/ |
Upgrading: v1.x, Fjall metadata and v3.0.0 beta 1
The garage v1.x end of life notice is in the v2.6.0 release notes: v1.x will get no further updates. The last 1.x image we found on Docker Hub is v1.3.1, pushed on 24 January 2026, so move to 2.x.
If your metadata uses the fjall engine, convert it to LMDB with the v2.6.0 binary before you start the node on LMDB. The command is top-level garage convert-db. The help text lists lmdb and sqlite for the input engine, but -a fjall worked in our build. Stop the node first; we ran the conversion with the container stopped and the volume kept. The tested run used a volume named garage-fjall. If your node uses the garage-data volume from Step 2, replace garage-fjall with garage-data in the command.
docker stop garage
docker run --rm -v garage-fjall:/var/lib/garage dxflrs/garage:v2.6.0 \
/garage convert-db -a fjall -i /var/lib/garage/meta/db.fjall \
-b lmdb -o /var/lib/garage/meta/db.lmdbOn the tested node, which had one bucket and one key, the command printed progress lines per table and exited 0. A second run with db_engine = "lmdb" on the same volume still listed the bucket. The old fjall files stay in the volume.
For v3.0.0 beta 1, the release notes list these breaking changes: metrics move under a garage_ prefix, so update your dashboards; fjall is updated to v3; and the container entrypoint changed. Beta 1 also adds bucket-level anonymous read, bucket and object tagging, and a Noise handshake in place of the old one. The beta notes do not mention convert-db or any Fjall data migration, and we did not run the v3 binary. Any step for moving Fjall data to v3 is unverified here, so check the release notes before you upgrade.
FAQ
Is Garage v1.x still supported?
No. The v2.6.0 release notes say v1.x is end of life and will not receive further updates. Move to v2.x; the v2.6.0 release notes have no breaking-changes section.
Does the Docker image include the garage admin web UI?
Yes. garage --version in the v2.6.0 image lists the webadmin feature, and the release notes list the new web interface for cluster administration.
What scope does an admin token get by default?
The scope *, which covers every admin function, and no expiry. Pass --scope and --expires-in to limit it.
Does port 3902 give a management UI?
No. Port 3902 is the [s3_web] service, which publishes bucket contents as websites. The admin UI is on the admin port, 3903 in these examples, at /ui/.
Last updated: 2026-11-27; tested on Garage v2.6.0 (dxflrs/garage image), Docker Desktop 29.1.2 on Windows 11 Pro, Git Bash, OpenSSL 3.5.4, Python with boto3 1.43.108.