Skip to content

Instantly share code, notes, and snippets.

@thomasfedb
Created May 17, 2022 13:02
Show Gist options
  • Save thomasfedb/1874a236b7bdc8f26ff1a66d55af0a30 to your computer and use it in GitHub Desktop.
Save thomasfedb/1874a236b7bdc8f26ff1a66d55af0a30 to your computer and use it in GitHub Desktop.
admin@raspberrypi:~ $ wget https://raw.githubusercontent.com/dokku/dokku/v0.27.4/bootstrap.sh;
sudo DOKKU_TAG=v0.27.4 bash bootstrap.sh
--2022-05-17 13:53:34-- https://raw.githubusercontent.com/dokku/dokku/v0.27.4/bootstrap.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response...
200 OK
Length: 9585 (9.4K) [text/plain]
Saving to: ‘bootstrap.sh’
bootstrap.sh 100%[==============================================================================>] 9.36K --.-KB/s in 0.02s
2022-05-17 13:53:34 (598 KB/s) - ‘bootstrap.sh’ saved [9585/9585]
Preparing to install v0.27.4 from https://github.com/dokku/dokku.git...
--> Ensuring we have the proper dependencies
Selecting previously unselected package libgirepository-1.0-1:arm64.
(Reading database ... 35553 files and directories currently installed.)
Preparing to unpack .../0-libgirepository-1.0-1_1.66.1-1+b1_arm64.deb ...
Unpacking libgirepository-1.0-1:arm64 (1.66.1-1+b1) ...
Selecting previously unselected package gir1.2-glib-2.0:arm64.
Preparing to unpack .../1-gir1.2-glib-2.0_1.66.1-1+b1_arm64.deb ...
Unpacking gir1.2-glib-2.0:arm64 (1.66.1-1+b1) ...
Selecting previously unselected package libpackagekit-glib2-18:arm64.
Preparing to unpack .../2-libpackagekit-glib2-18_1.2.2-2_arm64.deb ...
Unpacking libpackagekit-glib2-18:arm64 (1.2.2-2) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../3-gir1.2-packagekitglib-1.0_1.2.2-2_arm64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.2.2-2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../4-python3-dbus_1.2.16-5_arm64.deb ...
Unpacking python3-dbus (1.2.16-5) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../5-python3-gi_3.38.0-2_arm64.deb ...
Unpacking python3-gi (3.38.0-2) ...
Selecting previously unselected package python3-pycurl.
Preparing to unpack .../6-python3-pycurl_7.43.0.6-5_arm64.deb ...
Unpacking python3-pycurl (7.43.0.6-5) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../7-python3-software-properties_0.96.20.2-2.1_all.deb ...
Unpacking python3-software-properties (0.96.20.2-2.1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../8-software-properties-common_0.96.20.2-2.1_all.deb ...
Unpacking software-properties-common (0.96.20.2-2.1) ...
Setting up python3-dbus (1.2.16-5) ...
Setting up libpackagekit-glib2-18:arm64 (1.2.2-2) ...
Setting up python3-pycurl (7.43.0.6-5) ...
Setting up python3-software-properties (0.96.20.2-2.1) ...
Setting up libgirepository-1.0-1:arm64 (1.66.1-1+b1) ...
Setting up gir1.2-glib-2.0:arm64 (1.66.1-1+b1) ...
Setting up gir1.2-packagekitglib-1.0 (1.2.2-2) ...
Setting up python3-gi (3.38.0-2) ...
Setting up software-properties-common (0.96.20.2-2.1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for dbus (1.12.20-2) ...
--> Note: Installing dokku for the first time will result in removal of
files in the nginx 'sites-enabled' directory. Please manually
restore any files that may be removed after the installation and
web setup is complete.
Installation will continue in 10 seconds.
--> Initial apt-get update
Selecting previously unselected package apt-transport-https.
(Reading database ... 35770 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.2.4_all.deb ...
Unpacking apt-transport-https (2.2.4) ...
Setting up apt-transport-https (2.2.4) ...
--> Installing docker
# Executing docker install script, commit: 614d05e0e669a0577500d055677bb6f71e822356
2022-05-17 13:54:15 URL:https://get.docker.com/ [19305/19305] -> "-" [1]
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sh -c curl -fsSL "https://download.docker.com/linux/debian/gpg" | gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg
+ sh -c chmod a+r /usr/share/keyrings/docker-archive-keyring.gpg
+ sh -c echo "deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian bullseye stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get update -qq >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends docker-ce docker-ce-cli containerd.io docker-compose-plugin >/dev/null
+ version_gte 20.10
+ [ -z ]
+ return 0
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
+ sh -c docker version
Client: Docker Engine - Community
Version: 20.10.16
API version: 1.41
Go version: go1.17.10
Git commit: aa7e414
Built: Thu May 12 09:15:56 2022
OS/Arch: linux/arm64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.16
API version: 1.41 (minimum version 1.12)
Go version: go1.17.10
Git commit: f756502
Built: Thu May 12 09:14:19 2022
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.4
GitCommit: 212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
runc:
Version: 1.1.1
GitCommit: v1.1.1-0-g52de29d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
================================================================================
To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:
dockerd-rootless-setuptool.sh install
Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.
To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/
WARNING: Access to the remote API on a privileged Docker daemon is equivalent
to root access on the host. Refer to the 'Docker daemon attack surface'
documentation for details: https://docs.docker.com/go/attack-surface/
================================================================================
--> Installing dokku
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
2022-05-17 13:56:29 URL:https://d28dx6y1hfq314.cloudfront.net/505/623/gpg/dokku-dokku-FB2B6AA421CD193F.pub.gpg?t=1652792489_599118cab768376258d9e5a2d8c855013408a4d3 [3937/3937] -> "-" [1]
OK
deb https://packagecloud.io/dokku/dokku/debian/ bullseye main
E: Unable to correct problems, you have held broken packages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment