# install docker $ wget -nv -O - https://get.docker.com/ | sh # setup dokku apt repository $ wget -nv -O - https://packagecloud.io/dokku/dokku/gpgkey | apt-key add - $ export SOURCE="https://packagecloud.io/dokku/dokku/ubuntu/" $ export OS_ID="$(lsb_release -cs 2>/dev/null || echo "bionic")" $ echo "bionic focal" | grep -q "$OS_ID" || OS_ID="bionic" $ echo "deb $SOURCE $OS_ID main" | tee /etc/apt/sources.list.d/dokku.list $ apt-get update # install dokku $ apt-get install dokku $ dokku plugin:install-dependencies --core # run with root! # Configure your server domain via `dokku domains:set-global` # and user access (via `dokku ssh-keys:add`) to complete the installation
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter