Skip to content

Instantly share code, notes, and snippets.

@Aziz9022
Aziz9022 / docker.sh
Created August 26, 2025 17:38
Ubuntu Docker Installation
#!/bin/bash
set -e
# Ensure script is executed as root
if [ "$(id -u)" -ne 0 ]; then
echo "❌ Please run this script with sudo or as root."
exit 1
fi