Skip to content

Instantly share code, notes, and snippets.

View MazenElzanaty's full-sized avatar
🎯
Focusing

Mazen Elzanaty MazenElzanaty

🎯
Focusing
View GitHub Profile
@MazenElzanaty
MazenElzanaty / install-docker-debian.sh
Last active January 24, 2023 18:02
Install docker on Debian and Debian based distributions
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
RED='\033[0;31m'
NC='\033[0m'
GREEN='\033[0;32m'
@MazenElzanaty
MazenElzanaty / install-docker.sh
Last active June 17, 2020 07:24
Install Docker on Ubuntu
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
RED='\033[0;31m'
NC='\033[0m'
GREEN='\033[0;32m'