Last active
February 5, 2018 08:09
-
-
Save iampeterbanjo/42b14b9beb86094de7611f3fb7571608 to your computer and use it in GitHub Desktop.
Install dokku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -nv -O - https://get.docker.com/ | sh | |
# setup dokku apt repository | |
wget -nv -O - https://packagecloud.io/gpg.key | apt-key add - | |
export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/" | |
echo "deb $SOURCE trusty main" | tee /etc/apt/sources.list.d/dokku.list | |
apt-get update | |
# install dokku | |
apt-get install dokku | |
dokku plugin:install-dependencies --core | |
# use docker as non-root | |
sudo usermod -aG docker $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment