From 49c0f131205035d125271bb5b87db5b0f5bc2a6d Mon Sep 17 00:00:00 2001 From: Hamza <23738574+w4hf@users.noreply.github.com> Date: Mon, 15 Jun 2026 13:18:17 +0200 Subject: [PATCH] Update podman instructions in README (#3479) Added correct volume mounting option in rootless podman command. Signed-off-by: Hamza <23738574+w4hf@users.noreply.github.com> Co-authored-by: houseme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c26e18e96..b8c70a77a 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,11 @@ docker run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/log If you use [podman](https://github.com/containers/podman) instead of docker, you can install the RustFS with the below command ```bash -podman run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:latest +# Create data and logs directories +mkdir -p data logs + +# Run the container (podman will automatically set the folders ownership) +podman run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data:Z,U -v $(pwd)/logs:/logs:Z,U rustfs/rustfs:latest ``` If you enable TLS with a bind-mounted certificate directory, prepare that mount the same way: