2015-04-04 134 views
0

我想在OpenShift上設置一個Discourse論壇。當我嘗試安裝Docker時,用sudo安裝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. 
+0

第一'須藤su'是根,那麼第一個命令將執行 – user2915097 2015-04-04 16:21:21

+1

你有root權限? – rllola 2015-04-04 16:29:34

回答