Skip to content

Instantly share code, notes, and snippets.

@lihungte96
lihungte96 / docker-install.sh
Last active May 12, 2022 08:23
A bash script to install docker & docker-compose. Especially for aarch64 device.
#!/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