无法访问存储帐户
Can't access storage account
当我 运行 在我的主机系统上执行以下命令时,它起作用了:
azure storage share create --account-name myaccount --account-key mykey myshare
但是当我使用 Docker 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
-> 不起作用(同样的错误)
问题是我的容器内的日期时间错误,因为这个问题:https://github.com/docker/for-win/issues/72
当我 运行 在我的主机系统上执行以下命令时,它起作用了:
azure storage share create --account-name myaccount --account-key mykey myshare
但是当我使用 Docker 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
-> 不起作用(同样的错误)
问题是我的容器内的日期时间错误,因为这个问题:https://github.com/docker/for-win/issues/72