This project is no longer maintained.
An alternative implementation in Go is available, which does not require any third-party libraries and runs as a static, all-in-one binary:
I had so many challenges in choosing the docker registry mirror that has the docker image that I wanted and has acceptable download speed that fits with my internet service provider so I developed an script that checks and tests the speed of the docker registry mirrors so I won't waste my time on finding the best docker registry mirror.
sudo add-apt-repository ppa:pourpasand/403unlocker
sudo apt update
sudo apt install fastdocker403unlockerAt first you need to install requirements packages for Debian base distribution
sudo apt update -y && sudo apt install skopeoto download the script you can use the following command
wget -c https://raw.githubusercontent.com/ArmanTaheriGhaleTaki/fastdocker403unlocker/main/fastDocker403unlocker.shmake the script executable
chmod +x fastDocker403unlocker.shadd the script to your path
sudo mv fastDocker403unlocker.sh /usr/local/bin/fastDocker403unlockerafter that you need to give the image name and tag as an argument with this format [image]:tag to run the script to analyzing this image at docker mirror registries that are available in fastDocker403unlocker.conf file you can use the script like this
fastDocker403unlocker gitlab/gitlab-ce:17.0.0-ce.0or you can give your docker compose file to the script and it will find the best registry for each docker image and replace it
fastDocker403unlocker -i docker-compose.yml
fastDocker403unlocker -i docker-compose.yml -o fast-docker-compose.ymlMy social media - @armondy🙄 - [email protected]
Project Link: fastDocker403unlocker
