Installing Docker with sudo

廉价感情. 提交于 2019-12-12 03:09:40

问题


I am trying to set up a Discourse forum on OpenShift. When I try to install 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:


You do not have root access on OpenShift as a web dev. You also do not need docker nor will it work on the current version of OpenShift.

You should use this instead:

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



来源:https://stackoverflow.com/questions/29447524/installing-docker-with-sudo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!