The*_*Pea 2 heroku docker heroku-cli
$ heroku plugins:install heroku-container-registry
Run Code Online (Sandbox Code Playgroud)
当我运行上面的命令时,结果是:
» Error: heroku-container-registry is blacklisted
Run Code Online (Sandbox Code Playgroud)
被列入黑名单是什么意思;技术过时了吗?我可以解决它吗?
请参阅下面的@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.
Run Code Online (Sandbox Code Playgroud)
然后我尝试为 Windows 运行 Docker 桌面,遇到 Docker 错误,将按照这些说明进行操作
必须在 BIOS 中启用硬件辅助虚拟化和数据执行保护。请参阅 https://docs.docker.com/docker-for-windows/troubleshoot/#virtualization-must-be-enabled
技术过时了吗?
不,但那个文件是。该heroku-container-registry代码已合并到主 Heroku CLI 中。您应该可以在不安装任何插件的情况下使用它。
尝试运行该教程中列出的第二个命令以开始使用:
heroku container:login
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1806 次 |
| 最近记录: |