Skip to content

Instantly share code, notes, and snippets.

@lludlow
Forked from cocoastorm/README.md
Created October 1, 2018 19:01
Show Gist options
  • Save lludlow/b212c412a0fa46e31a6cfc0d6d75459f to your computer and use it in GitHub Desktop.
Save lludlow/b212c412a0fa46e31a6cfc0d6d75459f 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