dokku: Installation on Ubuntu 20.04 (arm) fails.

Description of problem

I am trying to install dokku on a ubuntu 20.04 docker container but it fails.

Reading the release notes and https://github.com/dokku/dokku/issues/1393 it seems like aarch64 is not yet supported - but possible to add.

Adding support for other ARM architectures should be rather trivial in the future (provided there is Golang support).

What needs to happen to get support for this?

How reproducible

Run the following steps below on an arm Mac.

Steps to Reproduce

  1. docker run --rm --name dokku -it ubuntu:20.04 bash
  2. apt-get update
  3. wget https://raw.githubusercontent.com/dokku/dokku/v0.26.6/bootstrap.sh
  4. DOKKU_TAG=v0.26.6 bash bootstrap.sh

Actual Results

root@b0dbc567de62:/# DOKKU_TAG=v0.26.6 bash bootstrap.sh
Preparing to install v0.26.6 from https://github.com/dokku/dokku.git...
--> Ensuring we have the proper dependencies
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package readline-common.
(Reading database ... 4463 files and directories currently installed.)
Preparing to unpack .../0-readline-common_8.0-4_all.deb ...
Unpacking readline-common (8.0-4) ...
Selecting previously unselected package libreadline8:arm64.
Preparing to unpack .../1-libreadline8_8.0-4_arm64.deb ...
Unpacking libreadline8:arm64 (8.0-4) ...
Selecting previously unselected package libassuan0:arm64.
Preparing to unpack .../2-libassuan0_2.5.3-7ubuntu2_arm64.deb ...
Unpacking libassuan0:arm64 (2.5.3-7ubuntu2) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../3-gpgconf_2.2.19-3ubuntu2.1_arm64.deb ...
Unpacking gpgconf (2.2.19-3ubuntu2.1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../4-pinentry-curses_1.1.0-3build1_arm64.deb ...
Unpacking pinentry-curses (1.1.0-3build1) ...
Selecting previously unselected package libnpth0:arm64.
Preparing to unpack .../5-libnpth0_1.6-1_arm64.deb ...
Unpacking libnpth0:arm64 (1.6-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../6-gpg-agent_2.2.19-3ubuntu2.1_arm64.deb ...
Unpacking gpg-agent (2.2.19-3ubuntu2.1) ...
Setting up libnpth0:arm64 (1.6-1) ...
Setting up libassuan0:arm64 (2.5.3-7ubuntu2) ...
Setting up readline-common (8.0-4) ...
Setting up pinentry-curses (1.1.0-3build1) ...
Setting up libreadline8:arm64 (8.0-4) ...
Setting up gpgconf (2.2.19-3ubuntu2.1) ...
Setting up gpg-agent (2.2.19-3ubuntu2.1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython3.8-minimal:arm64.
(Reading database ... 4550 files and directories currently installed.)
Preparing to unpack .../libpython3.8-minimal_3.8.10-0ubuntu1~20.04.1_arm64.deb ...
Unpacking libpython3.8-minimal:arm64 (3.8.10-0ubuntu1~20.04.1) ...
Selecting previously unselected package libexpat1:arm64.
Preparing to unpack .../libexpat1_2.2.9-1build1_arm64.deb ...
Unpacking libexpat1:arm64 (2.2.9-1build1) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../python3.8-minimal_3.8.10-0ubuntu1~20.04.1_arm64.deb ...
Unpacking python3.8-minimal (3.8.10-0ubuntu1~20.04.1) ...
Setting up libpython3.8-minimal:arm64 (3.8.10-0ubuntu1~20.04.1) ...
Setting up libexpat1:arm64 (2.2.9-1build1) ...
Setting up python3.8-minimal (3.8.10-0ubuntu1~20.04.1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 4841 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.8.2-0ubuntu2_arm64.deb ...
Unpacking python3-minimal (3.8.2-0ubuntu2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../1-mime-support_3.64ubuntu1_all.deb ...
Unpacking mime-support (3.64ubuntu1) ...
Selecting previously unselected package libmpdec2:arm64.
Preparing to unpack .../2-libmpdec2_2.4.2-3_arm64.deb ...
Unpacking libmpdec2:arm64 (2.4.2-3) ...
Selecting previously unselected package libsqlite3-0:arm64.
Preparing to unpack .../3-libsqlite3-0_3.31.1-4ubuntu0.2_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.31.1-4ubuntu0.2) ...
Selecting previously unselected package libpython3.8-stdlib:arm64.
Preparing to unpack .../4-libpython3.8-stdlib_3.8.10-0ubuntu1~20.04.1_arm64.deb ...
Unpacking libpython3.8-stdlib:arm64 (3.8.10-0ubuntu1~20.04.1) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../5-python3.8_3.8.10-0ubuntu1~20.04.1_arm64.deb ...
Unpacking python3.8 (3.8.10-0ubuntu1~20.04.1) ...
Selecting previously unselected package libpython3-stdlib:arm64.
Preparing to unpack .../6-libpython3-stdlib_3.8.2-0ubuntu2_arm64.deb ...
Unpacking libpython3-stdlib:arm64 (3.8.2-0ubuntu2) ...
Setting up python3-minimal (3.8.2-0ubuntu2) ...
Selecting previously unselected package python3.
(Reading database ... 5249 files and directories currently installed.)
Preparing to unpack .../00-python3_3.8.2-0ubuntu2_arm64.deb ...
Unpacking python3 (3.8.2-0ubuntu2) ...
Selecting previously unselected package libapparmor1:arm64.
Preparing to unpack .../01-libapparmor1_2.13.3-7ubuntu5.1_arm64.deb ...
Unpacking libapparmor1:arm64 (2.13.3-7ubuntu5.1) ...
Selecting previously unselected package libcap2:arm64.
Preparing to unpack .../02-libcap2_1%3a2.32-1_arm64.deb ...
Unpacking libcap2:arm64 (1:2.32-1) ...
Selecting previously unselected package libargon2-1:arm64.
Preparing to unpack .../03-libargon2-1_0~20171227-0.2_arm64.deb ...
Unpacking libargon2-1:arm64 (0~20171227-0.2) ...
Selecting previously unselected package libdevmapper1.02.1:arm64.
Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.167-1ubuntu1_arm64.deb ...
Unpacking libdevmapper1.02.1:arm64 (2:1.02.167-1ubuntu1) ...
Selecting previously unselected package libjson-c4:arm64.
Preparing to unpack .../05-libjson-c4_0.13.1+dfsg-7ubuntu0.3_arm64.deb ...
Unpacking libjson-c4:arm64 (0.13.1+dfsg-7ubuntu0.3) ...
Selecting previously unselected package libcryptsetup12:arm64.
Preparing to unpack .../06-libcryptsetup12_2%3a2.2.2-3ubuntu2.3_arm64.deb ...
Unpacking libcryptsetup12:arm64 (2:2.2.2-3ubuntu2.3) ...
Selecting previously unselected package libip4tc2:arm64.
Preparing to unpack .../07-libip4tc2_1.8.4-3ubuntu2_arm64.deb ...
Unpacking libip4tc2:arm64 (1.8.4-3ubuntu2) ...
Selecting previously unselected package libkmod2:arm64.
Preparing to unpack .../08-libkmod2_27-1ubuntu2_arm64.deb ...
Unpacking libkmod2:arm64 (27-1ubuntu2) ...
Selecting previously unselected package systemd-timesyncd.
Preparing to unpack .../09-systemd-timesyncd_245.4-4ubuntu3.13_arm64.deb ...
Unpacking systemd-timesyncd (245.4-4ubuntu3.13) ...
Selecting previously unselected package systemd.
Preparing to unpack .../10-systemd_245.4-4ubuntu3.13_arm64.deb ...
Unpacking systemd (245.4-4ubuntu3.13) ...
Setting up libapparmor1:arm64 (2.13.3-7ubuntu5.1) ...
Setting up libcap2:arm64 (1:2.32-1) ...
Setting up libargon2-1:arm64 (0~20171227-0.2) ...
Setting up libdevmapper1.02.1:arm64 (2:1.02.167-1ubuntu1) ...
Setting up libjson-c4:arm64 (0.13.1+dfsg-7ubuntu0.3) ...
Setting up libcryptsetup12:arm64 (2:2.2.2-3ubuntu2.3) ...
Setting up libip4tc2:arm64 (1.8.4-3ubuntu2) ...
Setting up libkmod2:arm64 (27-1ubuntu2) ...
Setting up systemd-timesyncd (245.4-4ubuntu3.13) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service → /lib/systemd/system/systemd-timesyncd.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /lib/systemd/system/systemd-timesyncd.service.
Setting up systemd (245.4-4ubuntu3.13) ...
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
ln: failed to create symbolic link '/etc/resolv.conf': Device or resource busy
Created symlink /etc/systemd/system/multi-user.target.wants/ondemand.service → /lib/systemd/system/ondemand.service.
Created symlink /etc/systemd/system/sysinit.target.wants/systemd-pstore.service → /lib/systemd/system/systemd-pstore.service.
Initializing machine ID from random generator.
Selecting previously unselected package systemd-sysv.
(Reading database ... 6082 files and directories currently installed.)
Preparing to unpack .../00-systemd-sysv_245.4-4ubuntu3.13_arm64.deb ...
Unpacking systemd-sysv (245.4-4ubuntu3.13) ...
Selecting previously unselected package libdbus-1-3:arm64.
Preparing to unpack .../01-libdbus-1-3_1.12.16-2ubuntu2.1_arm64.deb ...
Unpacking libdbus-1-3:arm64 (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package dbus.
Preparing to unpack .../02-dbus_1.12.16-2ubuntu2.1_arm64.deb ...
Unpacking dbus (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package distro-info-data.
Preparing to unpack .../03-distro-info-data_0.43ubuntu1.9_all.deb ...
Unpacking distro-info-data (0.43ubuntu1.9) ...
Selecting previously unselected package libglib2.0-0:arm64.
Preparing to unpack .../04-libglib2.0-0_2.64.6-1~ubuntu20.04.4_arm64.deb ...
Unpacking libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.4) ...
Selecting previously unselected package libgirepository-1.0-1:arm64.
Preparing to unpack .../05-libgirepository-1.0-1_1.64.1-1~ubuntu20.04.1_arm64.deb ...
Unpacking libgirepository-1.0-1:arm64 (1.64.1-1~ubuntu20.04.1) ...
Selecting previously unselected package gir1.2-glib-2.0:arm64.
Preparing to unpack .../06-gir1.2-glib-2.0_1.64.1-1~ubuntu20.04.1_arm64.deb ...
Unpacking gir1.2-glib-2.0:arm64 (1.64.1-1~ubuntu20.04.1) ...
Selecting previously unselected package libcap2-bin.
Preparing to unpack .../07-libcap2-bin_1%3a2.32-1_arm64.deb ...
Unpacking libcap2-bin (1:2.32-1) ...
Selecting previously unselected package libelf1:arm64.
Preparing to unpack .../08-libelf1_0.176-1.1build1_arm64.deb ...
Unpacking libelf1:arm64 (0.176-1.1build1) ...
Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../09-libglib2.0-data_2.64.6-1~ubuntu20.04.4_all.deb ...
Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.4) ...
Selecting previously unselected package tzdata.
Preparing to unpack .../10-tzdata_2021e-0ubuntu0.20.04_all.deb ...
Unpacking tzdata (2021e-0ubuntu0.20.04) ...
Selecting previously unselected package libicu66:arm64.
Preparing to unpack .../11-libicu66_66.1-2ubuntu2.1_arm64.deb ...
Unpacking libicu66:arm64 (66.1-2ubuntu2.1) ...
Selecting previously unselected package libpam-systemd:arm64.
Preparing to unpack .../12-libpam-systemd_245.4-4ubuntu3.13_arm64.deb ...
Unpacking libpam-systemd:arm64 (245.4-4ubuntu3.13) ...
Selecting previously unselected package libxml2:arm64.
Preparing to unpack .../13-libxml2_2.9.10+dfsg-5ubuntu0.20.04.1_arm64.deb ...
Unpacking libxml2:arm64 (2.9.10+dfsg-5ubuntu0.20.04.1) ...
Selecting previously unselected package libyaml-0-2:arm64.
Preparing to unpack .../14-libyaml-0-2_0.2.2-1_arm64.deb ...
Unpacking libyaml-0-2:arm64 (0.2.2-1) ...
Selecting previously unselected package lsb-release.
Preparing to unpack .../15-lsb-release_11.1.0ubuntu2_all.deb ...
Unpacking lsb-release (11.1.0ubuntu2) ...
Selecting previously unselected package python3-dbus.
Preparing to unpack .../16-python3-dbus_1.2.16-1build1_arm64.deb ...
Unpacking python3-dbus (1.2.16-1build1) ...
Selecting previously unselected package python3-gi.
Preparing to unpack .../17-python3-gi_3.36.0-1_arm64.deb ...
Unpacking python3-gi (3.36.0-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../18-python3-pkg-resources_45.2.0-1_all.deb ...
Unpacking python3-pkg-resources (45.2.0-1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../19-python3-six_1.14.0-2_all.deb ...
Unpacking python3-six (1.14.0-2) ...
Selecting previously unselected package iso-codes.
Preparing to unpack .../20-iso-codes_4.4-1_all.deb ...
Unpacking iso-codes (4.4-1) ...
Selecting previously unselected package libkrb5support0:arm64.
Preparing to unpack .../21-libkrb5support0_1.17-6ubuntu4.1_arm64.deb ...
Unpacking libkrb5support0:arm64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libk5crypto3:arm64.
Preparing to unpack .../22-libk5crypto3_1.17-6ubuntu4.1_arm64.deb ...
Unpacking libk5crypto3:arm64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libkeyutils1:arm64.
Preparing to unpack .../23-libkeyutils1_1.6-6ubuntu1_arm64.deb ...
Unpacking libkeyutils1:arm64 (1.6-6ubuntu1) ...
Selecting previously unselected package libkrb5-3:arm64.
Preparing to unpack .../24-libkrb5-3_1.17-6ubuntu4.1_arm64.deb ...
Unpacking libkrb5-3:arm64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package libgssapi-krb5-2:arm64.
Preparing to unpack .../25-libgssapi-krb5-2_1.17-6ubuntu4.1_arm64.deb ...
Unpacking libgssapi-krb5-2:arm64 (1.17-6ubuntu4.1) ...
Selecting previously unselected package liblmdb0:arm64.
Preparing to unpack .../26-liblmdb0_0.9.24-1_arm64.deb ...
Unpacking liblmdb0:arm64 (0.9.24-1) ...
Selecting previously unselected package libpolkit-gobject-1-0:arm64.
Preparing to unpack .../27-libpolkit-gobject-1-0_0.105-26ubuntu1.1_arm64.deb ...
Unpacking libpolkit-gobject-1-0:arm64 (0.105-26ubuntu1.1) ...
Selecting previously unselected package python-apt-common.
Preparing to unpack .../28-python-apt-common_2.0.0ubuntu0.20.04.6_all.deb ...
Unpacking python-apt-common (2.0.0ubuntu0.20.04.6) ...
Selecting previously unselected package python3-apt.
Preparing to unpack .../29-python3-apt_2.0.0ubuntu0.20.04.6_arm64.deb ...
Unpacking python3-apt (2.0.0ubuntu0.20.04.6) ...
Selecting previously unselected package dbus-user-session.
Preparing to unpack .../30-dbus-user-session_1.12.16-2ubuntu2.1_arm64.deb ...
Unpacking dbus-user-session (1.12.16-2ubuntu2.1) ...
Selecting previously unselected package libdconf1:arm64.
Preparing to unpack .../31-libdconf1_0.36.0-1_arm64.deb ...
Unpacking libdconf1:arm64 (0.36.0-1) ...
Selecting previously unselected package dconf-service.
Preparing to unpack .../32-dconf-service_0.36.0-1_arm64.deb ...
Unpacking dconf-service (0.36.0-1) ...
Selecting previously unselected package dconf-gsettings-backend:arm64.
Preparing to unpack .../33-dconf-gsettings-backend_0.36.0-1_arm64.deb ...
Unpacking dconf-gsettings-backend:arm64 (0.36.0-1) ...
Selecting previously unselected package libpackagekit-glib2-18:arm64.
Preparing to unpack .../34-libpackagekit-glib2-18_1.1.13-2ubuntu1.1_arm64.deb ...
Unpacking libpackagekit-glib2-18:arm64 (1.1.13-2ubuntu1.1) ...
Selecting previously unselected package gir1.2-packagekitglib-1.0.
Preparing to unpack .../35-gir1.2-packagekitglib-1.0_1.1.13-2ubuntu1.1_arm64.deb ...
Unpacking gir1.2-packagekitglib-1.0 (1.1.13-2ubuntu1.1) ...
Selecting previously unselected package libproxy1v5:arm64.
Preparing to unpack .../36-libproxy1v5_0.4.15-10ubuntu1.2_arm64.deb ...
Unpacking libproxy1v5:arm64 (0.4.15-10ubuntu1.2) ...
Selecting previously unselected package glib-networking-common.
Preparing to unpack .../37-glib-networking-common_2.64.2-1ubuntu0.1_all.deb ...
Unpacking glib-networking-common (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package glib-networking-services.
Preparing to unpack .../38-glib-networking-services_2.64.2-1ubuntu0.1_arm64.deb ...
Unpacking glib-networking-services (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package gsettings-desktop-schemas.
Preparing to unpack .../39-gsettings-desktop-schemas_3.36.0-1ubuntu1_all.deb ...
Unpacking gsettings-desktop-schemas (3.36.0-1ubuntu1) ...
Selecting previously unselected package glib-networking:arm64.
Preparing to unpack .../40-glib-networking_2.64.2-1ubuntu0.1_arm64.deb ...
Unpacking glib-networking:arm64 (2.64.2-1ubuntu0.1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../41-gpg_2.2.19-3ubuntu2.1_arm64.deb ...
Unpacking gpg (2.2.19-3ubuntu2.1) ...
Selecting previously unselected package libbrotli1:arm64.
Preparing to unpack .../42-libbrotli1_1.0.7-6ubuntu0.1_arm64.deb ...
Unpacking libbrotli1:arm64 (1.0.7-6ubuntu0.1) ...
Selecting previously unselected package libsoup2.4-1:arm64.
Preparing to unpack .../43-libsoup2.4-1_2.70.0-1_arm64.deb ...
Unpacking libsoup2.4-1:arm64 (2.70.0-1) ...
Selecting previously unselected package libstemmer0d:arm64.
Preparing to unpack .../44-libstemmer0d_0+svn585-2_arm64.deb ...
Unpacking libstemmer0d:arm64 (0+svn585-2) ...
Selecting previously unselected package libappstream4:arm64.
Preparing to unpack .../45-libappstream4_0.12.10-2_arm64.deb ...
Unpacking libappstream4:arm64 (0.12.10-2) ...
Selecting previously unselected package libglib2.0-bin.
Preparing to unpack .../46-libglib2.0-bin_2.64.6-1~ubuntu20.04.4_arm64.deb ...
Unpacking libglib2.0-bin (2.64.6-1~ubuntu20.04.4) ...
Selecting previously unselected package libgstreamer1.0-0:arm64.
Preparing to unpack .../47-libgstreamer1.0-0_1.16.2-2_arm64.deb ...
Unpacking libgstreamer1.0-0:arm64 (1.16.2-2) ...
Selecting previously unselected package libpolkit-agent-1-0:arm64.
Preparing to unpack .../48-libpolkit-agent-1-0_0.105-26ubuntu1.1_arm64.deb ...
Unpacking libpolkit-agent-1-0:arm64 (0.105-26ubuntu1.1) ...
Selecting previously unselected package policykit-1.
Preparing to unpack .../49-policykit-1_0.105-26ubuntu1.1_arm64.deb ...
Unpacking policykit-1 (0.105-26ubuntu1.1) ...
Selecting previously unselected package python3-certifi.
Preparing to unpack .../50-python3-certifi_2019.11.28-1_all.deb ...
Unpacking python3-certifi (2019.11.28-1) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../51-python3-chardet_3.0.4-4build1_all.deb ...
Unpacking python3-chardet (3.0.4-4build1) ...
Selecting previously unselected package python3-idna.
Preparing to unpack .../52-python3-idna_2.8-1_all.deb ...
Unpacking python3-idna (2.8-1) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../53-python3-urllib3_1.25.8-2ubuntu0.1_all.deb ...
Unpacking python3-urllib3 (1.25.8-2ubuntu0.1) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../54-python3-requests_2.22.0-2ubuntu1_all.deb ...
Unpacking python3-requests (2.22.0-2ubuntu1) ...
Selecting previously unselected package python3-requests-unixsocket.
Preparing to unpack .../55-python3-requests-unixsocket_0.2.0-2_all.deb ...
Unpacking python3-requests-unixsocket (0.2.0-2) ...
Selecting previously unselected package python3-software-properties.
Preparing to unpack .../56-python3-software-properties_0.99.9.8_all.deb ...
Unpacking python3-software-properties (0.99.9.8) ...
Selecting previously unselected package packagekit.
Preparing to unpack .../57-packagekit_1.1.13-2ubuntu1.1_arm64.deb ...
Unpacking packagekit (1.1.13-2ubuntu1.1) ...
Selecting previously unselected package software-properties-common.
Preparing to unpack .../58-software-properties-common_0.99.9.8_all.deb ...
Unpacking software-properties-common (0.99.9.8) ...
Setting up liblmdb0:arm64 (0.9.24-1) ...
Setting up systemd-sysv (245.4-4ubuntu3.13) ...
Setting up libkeyutils1:arm64 (1.6-6ubuntu1) ...
Setting up libproxy1v5:arm64 (0.4.15-10ubuntu1.2) ...
Setting up mime-support (3.64ubuntu1) ...
Setting up libyaml-0-2:arm64 (0.2.2-1) ...
Setting up libglib2.0-0:arm64 (2.64.6-1~ubuntu20.04.4) ...
Setting up distro-info-data (0.43ubuntu1.9) ...
Setting up libbrotli1:arm64 (1.0.7-6ubuntu0.1) ...
Setting up libsqlite3-0:arm64 (3.31.1-4ubuntu0.2) ...
Setting up libpackagekit-glib2-18:arm64 (1.1.13-2ubuntu1.1) ...
Setting up libkrb5support0:arm64 (1.17-6ubuntu4.1) ...
Setting up tzdata (2021e-0ubuntu0.20.04) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Tue Dec 14 00:30:27 UTC 2021.
Universal Time is now:  Tue Dec 14 00:30:27 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libcap2-bin (1:2.32-1) ...
Setting up libdconf1:arm64 (0.36.0-1) ...
Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.4) ...
Setting up libdbus-1-3:arm64 (1.12.16-2ubuntu2.1) ...
Setting up dbus (1.12.16-2ubuntu2.1) ...
Setting up libk5crypto3:arm64 (1.17-6ubuntu4.1) ...
Setting up python-apt-common (2.0.0ubuntu0.20.04.6) ...
Setting up libpam-systemd:arm64 (245.4-4ubuntu3.13) ...
Setting up libgirepository-1.0-1:arm64 (1.64.1-1~ubuntu20.04.1) ...
Setting up libkrb5-3:arm64 (1.17-6ubuntu4.1) ...
Setting up libstemmer0d:arm64 (0+svn585-2) ...
Setting up libmpdec2:arm64 (2.4.2-3) ...
Setting up glib-networking-common (2.64.2-1ubuntu0.1) ...
Setting up libpython3.8-stdlib:arm64 (3.8.10-0ubuntu1~20.04.1) ...
Setting up python3.8 (3.8.10-0ubuntu1~20.04.1) ...
Setting up libelf1:arm64 (0.176-1.1build1) ...
Setting up iso-codes (4.4-1) ...
Setting up gpg (2.2.19-3ubuntu2.1) ...
Setting up libpolkit-gobject-1-0:arm64 (0.105-26ubuntu1.1) ...
Setting up libgstreamer1.0-0:arm64 (1.16.2-2) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up libpython3-stdlib:arm64 (3.8.2-0ubuntu2) ...
Setting up glib-networking-services (2.64.2-1ubuntu0.1) ...
Setting up libicu66:arm64 (66.1-2ubuntu2.1) ...
Setting up libglib2.0-bin (2.64.6-1~ubuntu20.04.4) ...
Setting up python3 (3.8.2-0ubuntu2) ...
Setting up python3-six (1.14.0-2) ...
Setting up dbus-user-session (1.12.16-2ubuntu2.1) ...
Setting up python3-certifi (2019.11.28-1) ...
Setting up libgssapi-krb5-2:arm64 (1.17-6ubuntu4.1) ...
Setting up python3-idna (2.8-1) ...
Setting up gir1.2-glib-2.0:arm64 (1.64.1-1~ubuntu20.04.1) ...
Setting up python3-urllib3 (1.25.8-2ubuntu0.1) ...
Setting up libpolkit-agent-1-0:arm64 (0.105-26ubuntu1.1) ...
Setting up lsb-release (11.1.0ubuntu2) ...
Setting up libxml2:arm64 (2.9.10+dfsg-5ubuntu0.20.04.1) ...
Setting up policykit-1 (0.105-26ubuntu1.1) ...
Setting up python3-pkg-resources (45.2.0-1) ...
Setting up python3-dbus (1.2.16-1build1) ...
Setting up python3-apt (2.0.0ubuntu0.20.04.6) ...
Setting up dconf-service (0.36.0-1) ...
Setting up gir1.2-packagekitglib-1.0 (1.1.13-2ubuntu1.1) ...
Setting up python3-chardet (3.0.4-4build1) ...
Setting up python3-gi (3.36.0-1) ...
Setting up python3-requests (2.22.0-2ubuntu1) ...
Setting up dconf-gsettings-backend:arm64 (0.36.0-1) ...
Setting up python3-requests-unixsocket (0.2.0-2) ...
Setting up python3-software-properties (0.99.9.8) ...
Setting up gsettings-desktop-schemas (3.36.0-1ubuntu1) ...
Setting up glib-networking:arm64 (2.64.2-1ubuntu0.1) ...
Setting up libsoup2.4-1:arm64 (2.70.0-1) ...
Setting up libappstream4:arm64 (0.12.10-2) ...
Setting up packagekit (1.1.13-2ubuntu1.1) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of force-reload.
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Created symlink /etc/systemd/user/sockets.target.wants/pk-debconf-helper.socket → /usr/lib/systemd/user/pk-debconf-helper.socket.
Setting up software-properties-common (0.99.9.8) ...
Processing triggers for systemd (245.4-4ubuntu3.13) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
Processing triggers for dbus (1.12.16-2ubuntu2.1) ...
--> 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
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-transport-https.
(Reading database ... 10149 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.0.6_all.deb ...
Unpacking apt-transport-https (2.0.6) ...
Setting up apt-transport-https (2.0.6) ...
--> Installing docker
2021-12-14 00:30:41 URL:https://get.docker.com/ [18617/18617] -> "-" [1]
# Executing docker install script, commit: 93d2499759296ac1f9c510605fef85052a2c32be
+ 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
debconf: delaying package configuration, since apt-utils is not installed
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | gpg --dearmor --yes -o /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/ubuntu focal 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-cli docker-ce >/dev/null
debconf: delaying package configuration, since apt-utils is not installed
+ version_gte 20.10
+ [ -z  ]
+ return 0
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker-ce-rootless-extras >/dev/null
debconf: delaying package configuration, since apt-utils is not installed

================================================================================

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
2021-12-14 00:31:03 URL:https://d28dx6y1hfq314.cloudfront.net/505/623/gpg/dokku-dokku-FB2B6AA421CD193F.pub.gpg?t=1639442162_cd842a2c736729417ac08ba40a64e107575a2744 [3937/3937] -> "-" [1]
OK
deb https://packagecloud.io/dokku/dokku/ubuntu/ focal main
E: Unable to locate package dokku

Expected Results

The install should succeed.

Environment Information

Docker version 20.10.11, build dea9396 running on macOS 12.0.1 (arm) Linux 7d00cbdabb81 5.10.76-linuxkit #1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux as container.

dokku report APP_NAME output

There is no dokku yet.

How (deb/make/rpm) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?

Installing inside a docker container.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 5
  • Comments: 42 (24 by maintainers)

Commits related to this issue

Most upvoted comments

Closed by a shit-ton of MRs 😄

I wrote a blog post about Dokku experience on Oracle Cloud: https://featurist.co.uk/blog/hosting-rails-apps-for-free-on-oracle-cloud-with-dokku/

Wow thank you guys, I just realised that a new version was made, it works perfectly on my oracle ampere

wget https://raw.githubusercontent.com/dokku/dokku/v0.27.0/bootstrap.sh
sudo DOKKU_TAG=v0.27.0 bash bootstrap.sh

So easy to use, very good job, thanks a lot!

I will have to check the postgres plugin, I got an error, the database was not created but it seems to run anyway. I will open an issue in the plugin’s github if needed

sudo dokku postgres:create db_dev --image "arm64v8/postgres" --image-version "14"

Awesome thank you guys for this 🥇 dokku would then be able to run on oracle ampere (also in the always free tier). Looking forward to it 👍

For anyone coming across this issue, herokuish is not - and will never be - supported on arm platforms. Use pack as the builder instead. You can do this by adding a project.toml with the appropriate CNB config or set the builder via builder:set.

Dockerfile builder also worked for me on Oracle Ampere.

For anyone coming across this issue, herokuish is not - and will never be - supported on arm platforms. Use pack as the builder instead. Or Dockerfile. You can do this by adding a project.toml with the appropriate CNB config or set the builder via builder:set.

Note: we’ll have more builders soon, and I’ll try and add some documentation to each builder doc that says the platforms they support 😃

Fair enough. What’s the best way to keep track of when the functionality is available?

Mine didn’t go over quota, but were still removed after the free trial, as I’ve been warned (somewhere on reddit, I think). Your mileage may vary.

Most likely though, @josegonzalez 's test will be over before the 30 days. A longer period is only useful for running dokku CI on Arm.