Skip to content

Instantly share code, notes, and snippets.

@felixfong227
Forked from cocoastorm/README.md
Created January 24, 2019 18:38
Show Gist options
  • Save felixfong227/fd648c4568858bb29f0595e4a4c812d3 to your computer and use it in GitHub Desktop.
Save felixfong227/fd648c4568858bb29f0595e4a4c812d3 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

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

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