mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
fix: update README.md for new release (#12637)
rename all 'docker run' commands to 'podman run' fixes #12633
This commit is contained in:
@@ -39,16 +39,26 @@ Cache drives need to have `strictatime` or `relatime` enabled for disk caching f
|
||||
|
||||
```sh
|
||||
truncate -s 4G /tmp/data
|
||||
```
|
||||
|
||||
mkfs.xfs /tmp/data # build xfs filesystem on /tmp/data
|
||||
### Build xfs filesystem on /tmp/data
|
||||
```
|
||||
mkfs.xfs /tmp/data
|
||||
```
|
||||
|
||||
sudo mkdir /mnt/cache # create mount dir
|
||||
### Create mount dir
|
||||
```
|
||||
sudo mkdir /mnt/cache #
|
||||
```
|
||||
|
||||
sudo mount -o relatime /tmp/data /mnt/cache # mount xfs on /mnt/cache with atime.
|
||||
### Mount xfs on /mnt/cache with atime.
|
||||
```
|
||||
sudo mount -o relatime /tmp/data /mnt/cache
|
||||
```
|
||||
|
||||
docker pull minio/minio
|
||||
|
||||
docker run --net=host -e MINIO_ROOT_USER={s3-access-key} -e MINIO_ROOT_PASSWORD={s3-secret-key} \
|
||||
### Start using the cached drive with S3 gateway
|
||||
```
|
||||
podman run --net=host -e MINIO_ROOT_USER={s3-access-key} -e MINIO_ROOT_PASSWORD={s3-secret-key} \
|
||||
-e MINIO_CACHE_DRIVES=/cache -e MINIO_CACHE_QUOTA=99 -e MINIO_CACHE_AFTER=0 \
|
||||
-e MINIO_CACHE_WATERMARK_LOW=90 -e MINIO_CACHE_WATERMARK_HIGH=95 \
|
||||
-v /mnt/cache:/cache minio/minio:latest gateway s3
|
||||
|
||||
Reference in New Issue
Block a user