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
{ | |
"registry-mirrors": [ | |
"https://registry.docker.ir", | |
"https://docker.haiocloud.com", | |
"https://registry.docker.ir", | |
"https://docker.arvancloud.ir", | |
"https://docker.host:5000" | |
] | |
} |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
echo "==> Updating base system" | |
apt update && apt -y upgrade | |
echo "==> Useful tools" | |
apt -y install curl wget unzip git htop neofetch inxi vim nano ca-certificates gnupg lsb-release | |
echo "==> Install Docker (engine + compose plugin)" |