【发布时间】:2019-12-05 14:00:21
【问题描述】:
This Heroku + Docker example 建议运行:
$ heroku plugins:install heroku-container-registry
当我运行上面的命令时,结果是:
» Error: heroku-container-registry is blacklisted
被列入黑名单是什么意思;技术过时了吗?我可以解决它吗?
请参阅下面的@Chris 解决方案。在@Chris 教我之后我不需要heroku plugins:install,我尝试了接下来的步骤
为了将来参考,我遇到了一系列其他错误。在连接期间出现 Heroku 错误:
Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/version: open //./pipe/docker_engine:
The system cannot find the file specified.
In the default daemon configuration on Windows, the docker client must be run elevated to connect.
This error may also indicate that the docker daemon is not running.
然后我尝试运行 Docker Desktop for Windows,得到 Docker 错误,will follow these instructions
必须在 BIOS 中启用硬件辅助虚拟化和数据执行保护。 See https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
【问题讨论】:
-
您的 Heroku 帐户是否需要基于 docker 的应用程序?
标签: docker heroku heroku-cli