Local S3 Servers in Docker After MinIO: RustFS, SeaweedFS, LocalStack

On this page
If docker compose up now fails because the minio/minio image no longer pulls, you need another local S3 server in Docker for development and CI. This comparison is for developers who test uploads, presigned URLs and CORS against a local endpoint. The short answer: RustFS or SeaweedFS run without an account and keep data on a named volume. LocalStack now needs an account and an auth token. MinIO Community works only if you build the image yourself.
Key takeaways
- Pin an exact tag (
rustfs/rustfs:1.0.7,chrislusf/seaweedfs:4.55,localstack/localstack:2026.11.1), because all three projects published a new one between 23 and 27 November 2026. - Give SeaweedFS access keys and start LocalStack with
S3_SKIP_SIGNATURE_VALIDATION=0, or a broken presigned URL can pass locally and fail on AWS. - Use path-style addressing and an explicit endpoint (
--endpoint-urlorAWS_ENDPOINT_URL_S3) for every server here. - Test CORS with a real preflight against a bucket rule, because MinIO Community allows every origin server-wide and LocalStack adds default rules when a bucket has none.
Contents
- Can you still use the MinIO Docker image?
- How the four local S3 servers compare in Docker
- Run each local S3 server in Docker with data kept between runs
- Point the AWS CLI and SDKs at a local endpoint
- Test CORS, presigned URLs, multipart and versioning yourself
- Which local S3 server to pick
- When this doesn’t fit: a backend, CDN, proxy or staging bucket
Can you still use the MinIO Docker image?
No maintained prebuilt community image exists, so you either build MinIO from source or switch servers. The minio/minio repository was archived on 25 April 2026. Its README says the Community Edition “is now distributed as source code only”. It also says the legacy binaries “will not receive updates”.
Third-party reports say the images are gone too: minio/minio “no longer exists on Docker Hub” and quay.io/minio/minio returns 401 to anonymous pulls (grafana/loki #25250). Fresh dev machines also fail to start at Milvus (milvus-io/milvus #53430). We found no MinIO announcement of the removal. MinIO’s AIStor Free is no drop-in: one node, up to 10 TiB, for non-commercial “development and test purposes only”.
LocalStack changed too. Since 23 March 2026 LocalStack ships as a single image “requiring an auth token” (LocalStack blog). Its open-source repository is archived (localstack/localstack). The free Hobby plan’s terms “prohibit use for commercial purposes” (LocalStack pricing).
How the four local S3 servers compare in Docker
For a local server in Docker that needs no account, run RustFS (S3 API on port 9000) or SeaweedFS (port 8333) with a named volume and your own keys. SeaweedFS documents bucket CORS, presigned URLs, multipart uploads and versioning. RustFS documents presigned URLs, multipart uploads and versioning, with bucket CORS noted by a maintainer and in its CI tests. LocalStack documents the same calls but needs an account, and MinIO Community rejects bucket CORS rules.
Both tables come from each project’s docs and source code, read on 30 November 2026, not from our own run. The script further down runs the checks for you.
Image, licence, ports and keys
| MinIO Community | RustFS 1.0.7 | SeaweedFS 4.55 | LocalStack 2026.11.1 | |
|---|---|---|---|---|
| Image | none maintained; build from the Dockerfile | rustfs/rustfs |
chrislusf/seaweedfs |
localstack/localstack |
| Licence and account | AGPL-3.0, no account | Apache-2.0, no account | Apache-2.0, no account | account and auth token; Hobby plan is non-commercial |
| S3 port | 9000, console 9001 | 9000, console 9001 (docs) | 8333 (README) | 4566 (install) |
| Default keys | minioadmin / minioadmin |
README: rustfsadmin / rustfsadmin; docs: set your own |
none, which means allow-all | any alphanumeric access key ID with secret key test (docs use test / test, credentials); any other non-IAM secret fails when S3_SKIP_SIGNATURE_VALIDATION=0 (S3 docs) |
| Addressing | path-style; virtual-hosted needs MINIO_DOMAIN |
path-style; virtual-hosted needs RUSTFS_SERVER_DOMAINS |
path-style; virtual-hosted not documented in the pages we read | virtual-hosted on s3.localhost.localstack.cloud, path-style on localhost:4566 (S3 docs) |
| Data between runs | a volume you mount on the data directory | named volume rustfs-data:/data |
named volume weed-data:/data |
ephemeral; persistence not in the Hobby plan (persistence) |
CORS, presigned URLs, multipart and versioning
| MinIO Community | RustFS 1.0.7 | SeaweedFS 4.55 | LocalStack 2026.11.1 | |
|---|---|---|---|---|
Bucket CORS (PutBucketCors) |
NotImplemented (source); server-wide setting only | supported per a maintainer (#2330) and in CI tests | supported, plus global -s3.allowedOrigins (wiki) |
implemented; default rules when a bucket has none (S3 docs) |
| CORS headers with nothing set | every origin, * (config) |
none (docs); #2330 says older builds echoed the Origin | none | LocalStack’s default rules |
| Presigned PUT and GET | signature and expiry checked (source) | marked tested in RustFS CI (matrix) | supported (wiki) | signature and expiry not checked unless S3_SKIP_SIGNATURE_VALIDATION=0 |
| Multipart upload | not checked for this post | create, upload, complete and abort marked tested in RustFS CI; listing edge cases excluded | all operations listed | CreateMultipartUpload implemented |
| Versioning | doc says erasure-coded setups only (doc); one drive unclear | documented (doc); selected cases in RustFS CI | supported; no MFA Delete | PutBucketVersioning implemented |
Run each local S3 server in Docker with data kept between runs
Pin the tag, keep data on a named volume and set your own keys. The commands come from each project’s docs, adapted where noted, and were not run for this post. Keys such as localdevkey are example values.
RustFS
docker run -d --name rustfs -p 9000:9000 -p 9001:9001 -e RUSTFS_ACCESS_KEY=localdevkey -e RUSTFS_SECRET_KEY=localdevsecret123 -v rustfs-data:/data rustfs/rustfs:1.0.7This joins the README’s docker run to the named volume and key variables in the RustFS Docker docs. The docs say to set unique keys “before exposing RustFS to a network”. They also say never to use rustfsadmin, the README’s default. Release 1.0.7 includes a fix to “validate root credentials on 1.0.7 startup”. If you rely on the defaults, check that they still start.
Keep / out of the access key. SigV4, the AWS signing scheme these servers check, puts the key at the front of a slash-delimited credential scope (<access-key>/<date>/<region>/<service>/aws4_request). So a slash breaks parsing (RustFS credentials).
The container runs as UID and GID 10001, so a bind-mounted directory needs chown -R 10001:10001 first (README). A named volume avoids that. RustFS shipped 1.0.4, 1.0.5 and 1.0.7 between 25 October and 26 November 2026, hence the pin. MinIO also wants host ports 9000 and 9001, so remap both if both run, for example -p 9100:9000 -p 9101:9001.
Leave RUSTFS_CORS_ALLOWED_ORIGINS unset while you test bucket rules: a bucket without a CORS configuration falls back to it (rustfs #2330), which can hide a missing rule.
SeaweedFS
docker run -d --name seaweedfs -p 8333:8333 -v weed-data:/data -e AWS_ACCESS_KEY_ID=admin -e AWS_SECRET_ACCESS_KEY=secret -e S3_BUCKET=my-bucket chrislusf/seaweedfs:4.55This is the README quick start plus -d, a name and the 4.55 tag. The README says it behaves like weed mini, the single-node mode. The endpoint is http://localhost:8333, my-bucket exists, and admin / secret are valid keys (Quick Start with weed mini).
Never drop the keys. Without credentials, “all S3 operations are permitted without authentication”, which is the default for weed mini (SeaweedFS S3 credentials). So a presigned-URL or signature test proves nothing. The AWS_* variables are only a fallback: a config file, the filer config or Admin UI identities override them completely.
Use the plain 4.55 tag, not the _full or _large_disk variants, unless you need those builds. 4.52 shipped on 2 November and 4.55 on 23 November 2026.
LocalStack
docker run -d --name localstack -p 127.0.0.1:4566:4566 -e LOCALSTACK_AUTH_TOKEN=${LOCALSTACK_AUTH_TOKEN:?} -e S3_SKIP_SIGNATURE_VALIDATION=0 -e S3_VALIDATE_SIGNATURES=1 localstack/localstack:2026.11.1The port and token lines come from the LocalStack installation docs. The two signature lines come from the LocalStack S3 docs. S3_SKIP_SIGNATURE_VALIDATION=0 validates presigned URLs only. S3_VALIDATE_SIGNATURES=1 validates regular SigV4-signed requests. ${LOCALSTACK_AUTH_TOKEN:?} stops the shell when the variable is empty.
As of 30 November 2026 the image does not start without a token, “a mandatory credential required to start the LocalStack container” (LocalStack Auth Token). So you need an account. The S3 service is “available from the Hobby plan” (LocalStack S3 docs), which is non-commercial. For CI pipelines, LocalStack says to use a CI Auth Token (LocalStack blog).
Pinning an older pre-consolidation tag (such as 4.14.0 or s3-community-archive; the LocalStack post cites 4.12 as an example) costs you updates and leaves “unpatched CVEs”, per the same LocalStack post. The s3-latest tag was replaced on 23 March 2026 with a ~1.9 MB image rather than a full S3 build. LocalStack’s consolidation FAQ says prior version tags remain available without authentication (The Road Ahead for LocalStack). A third-party issue names 4.14.0 as the newest such tag (dlrivada/Encina #2795); we have not verified it.
State “is ephemeral” by default, and the LocalStack persistence page lists the feature only under the Base and Ultimate plans. So the free Hobby plan cannot keep data between runs.
MinIO Community, built from source
git clone https://github.com/minio/minio.git
cd minio
# Build the minio binary first, as the README describes. Then:
docker build -t myminio:minio .
docker run -d --name minio -p 9000:9000 -p 9001:9001 -e MINIO_ROOT_USER=localdevuser -e MINIO_ROOT_PASSWORD=localdevsecret123 -v minio-data:/data myminio:minio server /data --console-address :9001The build and run lines follow the MinIO README. We swapped its server /tmp/minio for a named volume on /data and added root keys. They replace the default minioadmin:minioadmin (MinIO config docs). The archived code gets no updates. Building it needs Go and time on every fresh CI runner unless you cache the image, so choose it only when your tests depend on MinIO behaviour.
There is no bucket CORS: PutBucketCors is “a dummy call” that answers NotImplemented (api-router.go, dummy-handlers.go). The server-wide origin list defaults to *. See how to fix CORS errors on a MinIO bucket, Community vs AIStor for the server-wide setting.
Point the AWS CLI and SDKs at a local endpoint
All four servers work with three client settings: an explicit endpoint URL, path-style addressing (optional on LocalStack’s s3.localhost.localstack.cloud endpoint), and the server’s keys with a region such as us-east-1. Set path-style in a profile (AWS CLI S3 configuration):
# ~/.aws/config
[profile local]
region = us-east-1
s3 =
addressing_style = pathThen export the keys and endpoint. These are the SeaweedFS example values:
export AWS_PROFILE=local
export AWS_ACCESS_KEY_ID=admin
export AWS_SECRET_ACCESS_KEY=secret
export AWS_ENDPOINT_URL_S3=http://localhost:8333
aws s3 lsUse http://localhost:9000 for RustFS or MinIO, and http://s3.localhost.localstack.cloud:4566 with test / test for LocalStack (LocalStack S3 docs). To override the endpoint for one command, add --endpoint-url (AWS CLI endpoints).
Why local servers need path-style addressing
In a virtual-hosted request the bucket is part of the host name, read from the Host header. In a path-style request it is the first path segment (AWS virtual hosting). Bucket subdomains of a container name do not resolve: LocalStack’s docs say names like <bucket-name>.localstack “are not resolvable”. RustFS and MinIO default to path-style. The CLI’s default, auto, tries virtual-hosted style where possible (AWS CLI S3 configuration), so set path. LocalStack’s s3.localhost.localstack.cloud endpoint is the exception: it handles bucket subdomains, presigned URLs included.
SigV4 signs the Host header in both styles. Drawn from the AWS virtual hosting and SigV4 docs, not from a live run.
The host is part of the signature: SigV4 requires the host header (AWS SigV4). So a URL signed for http://seaweedfs:8333 inside Compose fails at http://localhost:8333. If your app runs in a container, sign presigned URLs for the address the browser can reach.
If a server rejects uploads from a current SDK, try AWS_REQUEST_CHECKSUM_CALCULATION=when_required first. AWS SDKs and the CLI add a CRC checksum by default, WHEN_SUPPORTED (AWS data integrity). We found no report of these four servers rejecting it, so treat it as a first try, not a requirement.
Test CORS, presigned URLs, multipart and versioning yourself
Four checks show whether a server behaves like S3 for browser code: a preflight, a presigned round trip with an expired URL, a multipart upload and a versioned delete. The script at the end runs all four.
CORS preflight
A preflight is the OPTIONS request a browser sends before a cross-origin request with a non-simple method or a custom header, such as a PUT (MDN CORS). S3 answers with the first matching CORSRule (AWS CORS evaluation), and ExposeHeaders lists the response headers browser code may read (AWS CORS elements). Expose ETag, which browser code otherwise cannot read.
curl -i -X OPTIONS "http://localhost:8333/my-bucket/hello.txt" \
-H "Origin: http://localhost:3000" \
-H "Access-Control-Request-Method: PUT" \
-H "Access-Control-Request-Headers: content-type"Look for Access-Control-Allow-Origin: http://localhost:3000. MinIO Community answers for every origin by default, whatever your bucket rule says. RustFS’s docs say it sends no CORS headers while RUSTFS_CORS_ALLOWED_ORIGINS is unset. But an earlier maintainer comment in rustfs #2330 says an unset variable echoed the request Origin, so check the preflight output. SeaweedFS sends none until configured. It answers a failed preflight with 403, and OPTIONS must not be listed in AllowedMethods (SeaweedFS S3 CORS). An earlier SeaweedFS issue from January 2026 reported missing Vary: Origin headers on non-CORS responses (#8071). We have not verified whether it still affects 4.55. LocalStack applies default rules when a bucket has none (LocalStack S3 docs), so a missing rule passes there.
A * origin is fine on a laptop, not in production. It lets any origin read the responses and never allows credentialed requests (MDN CORS). For rule syntax per provider, see CORS rules for S3, R2, MinIO, B2 and Wasabi.
Presigned PUT and GET, and an expired URL
A presigned URL is a link that carries its own time-limited permission. AWS calls presigned URLs “bearer tokens”: anyone holding one can use it until it expires. With SigV4 that is up to 7 days, and S3 checks expiry “at the time of the HTTP request” (AWS presigned URLs). So test the failure: an expired URL must be rejected.
MinIO’s source returns ErrExpiredPresignRequest after expiry (signature-v4.go). LocalStack checks neither signature nor expiry without S3_SKIP_SIGNATURE_VALIDATION=0 (LocalStack S3 docs). Allow-all SeaweedFS accepts anything, so both can hide a bug that AWS would reject. When a browser upload fails with SignatureDoesNotMatch, compare the signed and sent headers.
Multipart upload and versioning
A multipart upload sends one object in parts, then joins them. The AWS CLI switches to multipart at multipart_threshold, 8 MB by default (AWS CLI S3 configuration). So a 20 MB file goes up in 3 parts. On S3, parts are 5 MiB to 5 GiB (the last may be smaller), up to 10,000 per upload (AWS multipart limits, read 30 November 2026). RustFS excludes multipart listing and part-lookup edge cases from its default gate (RustFS compatibility). Its multipart 503 issue (#8822) is on an 8-node cluster, not a single node.
Versioning keeps every version of a key. Enable it (--versioning-configuration Status=Enabled), overwrite a key, delete it and list versions. S3 keeps both versions and adds a delete marker as the current version (AWS versioning). A versioned bucket “can never return to an unversioned state”, so use a throwaway one. On single-drive MinIO Community the docs leave the result unclear, so run it.
One script for the whole request set
The program runs the four checks against S3_ENDPOINT and exits non-zero on any failure, so it works as a CI step. It uses boto3 (S3 client reference) and Python’s standard urllib for the raw requests. Untested: we have not run it against these servers. Region us-east-1 is an assumption; change it if your server needs another.
pip install boto3
export S3_ENDPOINT=http://localhost:9000
export AWS_ACCESS_KEY_ID=localdevkey AWS_SECRET_ACCESS_KEY=localdevsecret123
python3 check_local_s3.py"""check_local_s3.py: CORS, presigned, multipart and versioning checks.
Untested: not run against any of the servers in this post."""
import io
import os
import sys
import time
import urllib.error
import urllib.request
import boto3
from boto3.exceptions import S3UploadFailedError
from boto3.s3.transfer import TransferConfig
from botocore.config import Config
from botocore.exceptions import BotoCoreError, ClientError
ENDPOINT = os.environ["S3_ENDPOINT"].rstrip("/")
ORIGIN = os.environ.get("ORIGIN", "http://localhost:3000") # your app's origin
BUCKET = os.environ.get("BUCKET", "local-s3-check") # example bucket name
VERSIONED = BUCKET + "-versions" # throwaway: versioning cannot be undone
MB = 1024 * 1024
s3 = boto3.client(
"s3",
endpoint_url=ENDPOINT,
region_name="us-east-1",
config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)
failures = []
def http(method, url, data=None, headers=None):
req = urllib.request.Request(url, data=data, method=method, headers=headers or {})
with urllib.request.urlopen(req, timeout=10) as resp:
return resp.headers, resp.read()
def check(name, func):
try:
func()
print(f"{name}: ok")
except ClientError as err:
failures.append(name)
print(f"{name}: failed: {err.response['Error']['Code']}")
except (OSError, BotoCoreError, S3UploadFailedError, AssertionError) as err:
failures.append(name)
print(f"{name}: failed: {err}")
def make_bucket(name):
try:
s3.create_bucket(Bucket=name)
except ClientError as err:
if err.response["Error"]["Code"] != "BucketAlreadyOwnedByYou":
raise
def put_cors():
rule = {
"AllowedOrigins": [ORIGIN],
"AllowedMethods": ["GET", "PUT", "POST", "DELETE", "HEAD"],
"AllowedHeaders": ["*"],
"ExposeHeaders": ["ETag"],
}
s3.put_bucket_cors(Bucket=BUCKET, CORSConfiguration={"CORSRules": [rule]})
def preflight():
headers, _ = http("OPTIONS", f"{ENDPOINT}/{BUCKET}/hello.txt", headers={
"Origin": ORIGIN,
"Access-Control-Request-Method": "PUT",
"Access-Control-Request-Headers": "content-type",
})
allowed = headers.get("Access-Control-Allow-Origin")
assert allowed in (ORIGIN, "*"), f"Access-Control-Allow-Origin is {allowed!r}"
def presign(method, key, seconds):
return s3.generate_presigned_url(
method, Params={"Bucket": BUCKET, "Key": key}, ExpiresIn=seconds)
def presigned_put_get():
body = b"hello from a presigned PUT"
http("PUT", presign("put_object", "hello.txt", 300), data=body)
_, got = http("GET", presign("get_object", "hello.txt", 300))
assert got == body, "GET returned different bytes"
def expired_get_rejected():
url = presign("get_object", "hello.txt", 1)
time.sleep(2)
try:
http("GET", url)
except urllib.error.HTTPError as err:
print(f" expired URL answered HTTP {err.code}")
assert err.code == 403, f"expected HTTP 403, got HTTP {err.code}"
return
raise AssertionError("an expired URL was accepted")
def multipart():
data = os.urandom(20 * MB)
config = TransferConfig(multipart_threshold=8 * MB, multipart_chunksize=8 * MB)
s3.upload_fileobj(io.BytesIO(data), BUCKET, "big.bin", Config=config)
size = s3.head_object(Bucket=BUCKET, Key="big.bin")["ContentLength"]
assert size == len(data), f"stored {size} bytes, sent {len(data)}"
def versioning():
make_bucket(VERSIONED)
s3.put_bucket_versioning(
Bucket=VERSIONED, VersioningConfiguration={"Status": "Enabled"})
for body in (b"one", b"two"):
s3.put_object(Bucket=VERSIONED, Key="v.txt", Body=body)
s3.delete_object(Bucket=VERSIONED, Key="v.txt")
listing = s3.list_object_versions(Bucket=VERSIONED, Prefix="v.txt")
versions = len(listing.get("Versions", []))
markers = len(listing.get("DeleteMarkers", []))
assert versions >= 2 and markers >= 1, f"{versions} versions, {markers} markers"
check("create bucket", lambda: make_bucket(BUCKET))
check("put bucket CORS", put_cors)
check("CORS preflight", preflight)
check("presigned PUT then GET", presigned_put_get)
check("expired presigned GET rejected", expired_get_rejected)
check("multipart upload of 20 MB", multipart)
check("versioning keeps versions and a delete marker", versioning)
sys.exit(1 if failures else 0)On MinIO Community, the source predicts put bucket CORS: failed: NotImplemented while the preflight still passes. The server-wide * answers instead of your rule.
Which local S3 server to pick
Pick by what your tests must catch:
- Choose RustFS when you want MinIO’s ports (9000 and 9001) with a web console, an Apache-2.0 licence and bucket CORS. Pin the tag, because it ships often.
- Choose SeaweedFS when you want one container that creates the bucket at start, with bucket CORS and versioning documented. Always set keys.
- Choose LocalStack when you also emulate other AWS services and accept an account, a CI Auth Token, and either the Hobby plan’s non-commercial terms or a paid plan. Turn on both signature checks:
S3_SKIP_SIGNATURE_VALIDATION=0for presigned URLs andS3_VALIDATE_SIGNATURES=1for other signed requests. - Choose MinIO Community when your tests depend on MinIO behaviour and you can build and maintain the image yourself.
In CI, a fresh volume per run gives clean tests. Other options, such as Garage and Floci, are out of scope here.
When this doesn’t fit: a backend, CDN, proxy or staging bucket
A local server emulates the storage API, not your architecture or your provider’s policies. Switch when one of these applies:
- A backend API must enforce per-user access, quotas or virus scanning before writing. The browser never touches the bucket, so CORS matters less, but your server carries every byte.
- A CDN or edge worker serves public reads, custom domains or signed cookies. Edge caching and the CDN’s own signing cannot be reproduced locally, so test them on the real service.
- A reverse proxy (Nginx, Caddy or Traefik) adds TLS and body-size limits in front of a self-hosted server. It must keep the original
Hostheader or SigV4 checks fail. SeaweedFS needsX-Forwarded-Hostfor its signature check (SeaweedFS S3 API FAQ). - A staging bucket on your real provider is the place to test IAM policy evaluation, lifecycle rules and the provider’s own CORS handling. See the minimum IAM policy for a web client on one bucket.
Try Opndrive
Opndrive gives any S3-compatible bucket a Drive-like web interface you host yourself.
See it on GitHub or read the docs.



