Installing Docker with sudo
问题 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