Last active
May 12, 2022 08:23
-
-
Save lihungte96/d44c7a77d0a35fe423a9438aaf3e0724 to your computer and use it in GitHub Desktop.
A bash script to install docker & docker-compose. Especially for aarch64 device.
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 | |
# Update APT package for Ubuntu-based Linux distributions | |
apt update && apt upgrade -y | |
# Download and install docker | |
curl -fsSL https://get.docker.com | sh | |
# Add this user into docker group | |
usermod -aG docker $SUDO_USER | |
# Install requirement package for docker-compose | |
apt install -y python3-pip | |
# Install docker-compose | |
pip3 install docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment