Automated Ubuntu Docker Setup Script
-
Update, Upgrade, and Clean the server:
- Update
- Upgrade
- Dist-Upgrade
- AutoRemove
- AutoClean
- Clean
-
Install UFW and enable it then Open 22 Port
-
Install Useful Packages:
apt-transport-https
ca-certificates
curl
software-properties-common
and in the end curl -fsSL https://get.docker.com | sh
wget "https://raw.githubusercontent.com/DanielNoohi/ubuntu-server-docker-setup/main/docker-install.sh" -O docker-install.sh && chmod +x docker-install.sh && bash docker-install.sh