A simple and powerful Bash script to simplify Docker usage on Iranian servers.
- Easily switch between popular DNS providers (Shecan, Radar, Begzar, Google, etc.)
- Automated Docker installation and setup
- Apply Iranian Docker registry mirrors (ArvanCloud, Haiocloud, Iranserver, etc.)
- DNS auto-backup before changes
- Support for Debian/Ubuntu systems
git clone https://github.com/Linuxmaster14/iran-docker.git
cd iran-docker
chmod +x iran-docker.sh
sudo ./iran-docker.sh
- Set DNS
- Install Docker
- Update Docker
- Set Docker Proxy
- Exit
- Shecan
- Radar
- Electro
- Begzar
- DNSPro
- 403
- Cloudflare
- docker.kernel.ir
- focker.ir
- registry.docker.ir
- docker.arvancloud.ir
- docker.haiocloud.com
- docker.iranserver.com
- docker.mobinhost.com
- hub.mecan.ir
These proxies are applied to /etc/docker/daemon.json and the Docker service will be restarted automatically.
MIT – free for personal and commercial use.
See LICENSE
for details.
Made with Linuxmaster14