Powered by Typecho)))
Optimized by EAimTY
安装:
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>" \
> S3FS_REGION="us-east-1"
创建volume:
docker volume create --driver rexray/s3fs test
查看volume:
DRIVER VOLUME NAME
rexray/s3fs:latest test
在docker-compose.yml中使用:
......
volumes:
test:
driver: rexray/s3fs
参考: