Last active
April 8, 2021 04:54
-
-
Save surajssd/aa97afc4642867efef27fd8fce7ab171 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 -euo pipefail | |
set -x | |
# Source: https://docs.docker.com/engine/install/ubuntu/ | |
apt-get update | |
apt-get -y remove docker docker-engine docker.io containerd runc || true | |
apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common \ | |
byobu | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
add-apt-repository \ | |
"deb [arch=arm64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update | |
apt-get install -y docker-ce docker-ce-cli containerd.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment