0
当我在我的主机系统上运行下面的命令,它的工作原理:无法访问存储帐户
azure storage share create --account-name myaccount --account-key mykey myshare
但是当我使用泊坞窗Azure的CLI:
docker run -it microsoft/azure-cli
,并执行同样的命令在那里,它失败:
info: Executing command storage share create
info: Creating storage file share myshare
error: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:8ce76eed-001a-0134-6355-3b8268000000
Time:2016-11-10T13:19:30.9105340Z
error: Error information has been recorded to /root/.azure/azure.err
error: storage share create command failed
我已经尝试过不同的图像标签,并从其他贡献者Azure的CLI图像,但相同的结果。
任何想法发生了什么?
编辑:
azure storage account list
- >工作
azure storage share list -a myshare -k mykey
- >不工作(同样的错误)