Dokku安装失败

时间:2017-07-03 07:56:34

标签: ubuntu docker dokku

我正在构建配置ansible脚本。我经常在开发期间执行它以进行调试。我使用数字海洋ubuntu 14液滴。很长一段时间一切都很好,但几天前相同的代码停止工作(每次执行都在一个新的液滴上)

我在安装Dokku 0.4.3时遇到错误

--> Installing dokku
OK
deb https://packagecloud.io/dokku/dokku/ubuntu/ trusty main
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dokku : Depends: docker-engine but it is not installable or
                  docker-engine-cs but it is not installable or
                  lxc-docker but it is not installable
E: Unable to correct problems, you have held broken packages.

我使用此命令进行安装:

wget -qO- https://raw.github.com/progrium/dokku/v0.4.3/bootstrap.sh | sudo DOKKU_TAG=v0.4.3 bash

有人知道如何解决这个问题吗?感谢' S

2 个答案:

答案 0 :(得分:1)

Dokku版本大幅过时(于2015年10月发布)。有关更新的安装URL,请访问他们的主页http://dokku.viewdocs.io/dokku/。

我猜你正在使用(或创建)的任何剧本只是需要更新。版本0.4.3的Dokku安装脚本可能假定Docker包名称为docker-engine。 Dokku安装的较新Docker软件包名称大约介绍0.8:https://github.com/dokku/dokku/commit/1e387b3b420a49ff87d16265a30efade2f1a0dbf

答案 1 :(得分:0)

将dokku升级到0.9之后,问题被解决了