From 711aab73c3c0953e1242d7ac6ec41e1f44940266 Mon Sep 17 00:00:00 2001 From: Liam Beckman Date: Mon, 13 Apr 2026 17:29:33 -0700 Subject: [PATCH] docs: Minor formatting clean up in README.md (#2523) Signed-off-by: Liam Beckman --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index e84b2c60f..879ab3f7e 100644 --- a/README.md +++ b/README.md @@ -100,28 +100,28 @@ To get started with RustFS, follow these steps: curl -O https://rustfs.com/install_rustfs.sh && bash install_rustfs.sh ``` -### 2\. Docker Quick Start (Option 2) +### 2. Docker Quick Start (Option 2) The RustFS container runs as a non-root user `rustfs` (UID `10001`). If you run Docker with `-v` to mount a host directory, please ensure the host directory owner is set to `10001`, otherwise you will encounter permission denied errors. ```bash - # Create data and logs directories - mkdir -p data logs +# Create data and logs directories +mkdir -p data logs - # Change the owner of these directories - chown -R 10001:10001 data logs +# Change the owner of these directories +chown -R 10001:10001 data logs - # Using latest version - docker run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:latest +# Using latest version +docker run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:latest - # Using specific version - docker run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:1.0.0-alpha.76 +# Using specific version +docker run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:1.0.0-alpha.76 ``` 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 +podman run -d -p 9000:9000 -p 9001:9001 -v $(pwd)/data:/data -v $(pwd)/logs:/logs rustfs/rustfs:latest ``` You can also use Docker Compose. Using the `docker-compose.yml` file in the root directory: