用sudo安装Docker

时间:2015-04-04 14:24:14

标签: docker openshift

我正在尝试在OpenShift上建立一个Discourse论坛。当我尝试安装docker时,

$> wget -qO- https://get.docker.io/ | sh
Error: this installer needs the ability to run commands as root.
We are unable to find either "sudo" or "su" available to make this happen.
$> sudo wget -qO- https://get.docker.io/ | sh
bash: usr/bin/sudo: permission denied.
$> su wget -qO- https://get.docker.io/ | sh
bash: /bin/sudo: permission denied.

1 个答案:

答案 0 :(得分:1)

您在OpenShift上没有root访问权限作为Web开发人员。您也不需要docker,也不会在当前版本的OpenShift上运行。

你应该改用:

https://github.com/liquidautumn/discourse-quickstart/tree/master/.openshift