I'm learning dokka right now for easy deployment on the web. The official installation instructions indicate this command:
wget -qO- https://raw.github.com/progrium/dokku/v0.3.12/bootstrap.sh | sudo DOKKU_TAG=v0.3.12 bash
I am not devop or admin, but as far as I understand this line, it does all the download and installation as root , thanks to sudo . Therefore, dokku will be checked into the directory with root , and all additional directories, such as /var/lib/dokku/ , will also have root .
The problem is that all articles on the Internet about dokku instruct you to execute the dokku command or to perform actions related to dokku without sudo . For example, the instructions for this dokku plugin, https://github.com/krisrang/dokku-mariadb , instruct you to install it through:
cd /var/lib/dokku/plugins git clone https:
This does not work, since /var/lib/dokku/plugins has root and git clone with acces denied . Now it’s hard to be not an administrator, but maybe someone will tell me what I'm doing wrong? I need to install dokku in some other way, or all the doku-related tutorials on the Internet suggest that I run them as root (which, according to my limited administrator knowledge, is not highly recommended for security reasons).
dokku
grigoryvp
source share