Accelerate your Docker pulls with Focker.ir proxy mirror in Iran and nearby regions
Simply prefix your image name with focker.ir/
when pulling images:
docker pull focker.ir/nginx
This will pull the nginx image through our proxy mirror, which is typically much faster in Iran and nearby regions.
For permanent configuration, add Focker.ir as a registry mirror in your Docker daemon configuration:
sudo tee /etc/docker/daemon.json <<EOF
{
"registry-mirrors": ["https://focker.ir"]
}
EOF
sudo systemctl restart docker
After applying this configuration, all your Docker pulls will automatically use Focker.ir mirror.
You can quickly modify existing docker-compose files to use Focker.ir mirror:
sed -i 's/^\s*image:\s*/&focker.ir\//g' docker-compose.yml
sed -i '' 's/^[[:space:]]*image:[[:space:]]*/image: focker.ir\//g' docker-compose.yml
Similar to docker-compose, you can modify Kubernetes deployment files:
sed -i 's/^\s*image:\s*/&focker.ir\//g' deployment.yml
sed -i '' 's/^[[:space:]]*image:[[:space:]]*/image: focker.ir\//g' deployment.yml
Our servers are optimized for the region, providing significantly faster download speeds compared to pulling directly from Docker Hub.
Avoid connectivity issues with Docker Hub by using our reliable mirror that's always available in the region.
Reduce your international bandwidth usage and save on networking costs by using our local mirror.