嗨,我正在开发battery-historian来获取安卓应用程序的电池历史,我已经在安卓工作室终端安装并登录了Docker,当我运行docker run -p 5555:9999 gcr.io/android-battery-historian/stable:3.0 --port 9999时,总是会显示一条显示该选项是未经授权的消息:
Unable to find image 'gcr.io/android-battery-historian/stable:3.0' locally
docker: Error response from daemon: unauthorized: You don't have the needed permissions to perform this operation, and you may have invalid credent
ials. To authenticate your request, follow the steps in: https://cloud.google.com/container-registry/docs/advanced-authentication.发布于 2018-04-05 14:21:44
我也有同样的问题。在https://github.com/google/battery-historian/issues/125上的评论(2017年12月13日,23票)中也提到了这一点。
谷歌没有对此做出回应,但有人建议使用https://hub.docker.com/r/bhaavan/battery-historian/作为解决办法,这似乎也适用于我。
https://stackoverflow.com/questions/49602840
复制相似问题