mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
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 <housemecn@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user