我尝试在 azure gateway 模式下针对/使用azurite运行 minio 。我启动了 azurite blob 存储模拟器,并且可以通过http://127.0.0.1:10000
. 现在我以 azure 网关模式启动 minio,如下所示:
docker run -p 9000:9000 --name azure-s3 \
-e "END_POINT=http://127.0.0.1:10000"
-e "MINIO_ACCESS_KEY=azurestorageaccountname" \
-e "MINIO_SECRET_KEY=azurestorageaccountkey" \
minio/minio gateway azure
我得到以下信息:
Created minio configuration file successfully at /root/.minio
You are running an older version of Minio released 1 week ago
Update: docker pull minio/minio:RELEASE.2018-05-25T19-49-13Z
Endpoint: http://172.17.0.3:9000 http://127.0.0.1:9000
AccessKey: azurestorageaccountname
SecretKey: azurestorageaccountkey
Browser Access:
http://172.17.0.3:9000 http://127.0.0.1:9000
Command-line Access: https://docs.minio.io/docs/minio-client-quickstart-guide
$ mc config host add myazure http://172.17.0.3:9000 azurestorageaccountname azurestorageaccountkey
Object API (Amazon S3 compatible):
Go: https://docs.minio.io/docs/golang-client-quickstart-guide
Java: https://docs.minio.io/docs/java-client-quickstart-guide
Python: https://docs.minio.io/docs/python-client-quickstart-guide
JavaScript: https://docs.minio.io/docs/javascript-client-quickstart-guide
.NET: https://docs.minio.io/docs/dotnet-client-quickstart-guide
如果我现在尝试在 minio 浏览器中创建一个存储桶,我会收到以下错误:Put https://127.0.0.1:10000/azurestorageaccountname/test?restype=container: dial tcp 127.0.0.1:10000: connect: connection refused
我对那个 minio 尝试“https”调用感到困惑,我认为这就是错误。对此有何建议?