Skip to content

Instantly share code, notes, and snippets.

@psanders
Forked from cocoastorm/README.md
Created December 15, 2020 01:59
Show Gist options
  • Save psanders/36cf87bf35b543b6fa895455c5ab723b to your computer and use it in GitHub Desktop.
Save psanders/36cf87bf35b543b6fa895455c5ab723b to your computer and use it in GitHub Desktop.
rexray/s3fs Docker Plugin Install with Minio
# Getting Started
Make sure Docker is installed!
Get your Minio endpoint url, accesskey, and secretkey ready!
## Install Docker Plugin
```bash
docker plugin install rexray/s3fs \
S3FS_OPTIONS="allow_other,use_path_request_style,nonempty,url=http://<minio_endpoint_url>" \
S3FS_ENDPOINT="http://<minio_endpoint_url>" \
S3FS_ACCESSKEY="<minio_accesskey>" \
S3FS_SECRETKEY="<minio_secretkey>"
```
## Checking if it works ;O
```bash
docker volume ls
```
There should be volume names listed similarly to this:
```
DRIVER VOLUME_NAME
rexray/s3fs some_volume_1
rexray/s3fs some_volume_2
```
## Additional Notes
This should ideally work with other providers as well... just not Minio.
Just make sure to change the endpoint in `S3FS_ENDPOINT` and inside `S3FS_OPTIONS` as well!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment