Configuration
Set up Docker to use this mirror for faster image pulls:
1
Configure daemon
Add the mirror configuration to Docker daemon settings
sudo tee /etc/docker/daemon.json <<EOF
{
"insecure-registries" : ["https://docker.mobinhost.com"],
"registry-mirrors": ["https://docker.mobinhost.com"]
}
EOF
2
Restart service
Restart Docker daemon to apply the new configuration
sudo systemctl restart docker
3
Test mirror
Pull a test image to verify the mirror is working correctly
docker pull nginx
Mirror online