Initial commit: Add Iran Docker management script, and update README

This commit is contained in:
Mohammadhossein Fakhraei
2025-07-12 17:46:03 +03:30
parent b95b736eb3
commit 47f6ab4fab
2 changed files with 275 additions and 1 deletions

View File

@@ -1,2 +1,58 @@
# iran-docker
# IRAN Docker
A simple and powerful Bash script to simplify Docker usage on Iranian servers.
## Features
* 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
## Usage
```bash
git clone https://github.com/Linuxmaster14/iran-docker.git
cd iran-docker
chmod +x iran-docker.sh
sudo ./iran-docker.sh
```
## Menu Options
1) Set DNS
2) Install Docker
3) Update Docker
4) Set Docker Proxy
5) Exit
## Supported DNS Providers
* Shecan
* Radar
* Electro
* Begzar
* DNS Pro
* 403
* Google
* Cloudflare
## Supported Docker Proxies
* https://docker.iranserver.com
* https://docker.haiocloud.com
* https://registry.docker.ir
* https://docker.arvancloud.ir
* https://focker.ir
These proxies are applied to /etc/docker/daemon.json and the Docker service will be restarted automatically.
## License
MIT free for personal and commercial use.
See [`LICENSE`](./LICENSE) for details.
## Author
Made with [Linuxmaster14](https://github.com/Linuxmaster14)