Last active
September 2, 2022 14:29
-
-
Save hmahadik/b04086352a8cc1e0c6b9804dc6fced36 to your computer and use it in GitHub Desktop.
Download and install static docker binaries for aarch64 (tested on imx).
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
#!/bin/bash | |
set -eux | |
cd /tmp | |
rm -rfv docker* | |
wget -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/aarch64/docker-20.10.6.tgz | |
tar xvf docker.tgz | |
mv -v docker/* /usr/bin | |
rm -rfv docker* | |
# sed 's/exit 0/dockerd\&\nexit 0/' /etc/rc.local >> /etc/rc.local | |
echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment