|
1 | 1 | # Multi-Registry Pull Through Cache Setup Guide 🚀 |
2 | 2 |
|
3 | | -Welcome to the Multi-Registry Pull Through Cache Setup Guide! This project is designed to help you create an efficient, bandwidth-saving local mirror for Docker Hub images and other container registries. By setting up a pull-through cache, you can significantly reduce internet traffic and improve the speed of image pulls for your containerized environments. 🌐💨 |
| 3 | +Welcome to the Multi-Registry Pull Through Cache Setup Guide! This project is designed to help you create an efficient, bandwidth-saving local mirror for Docker Hub images and other container registries, including private registries. By setting up a pull-through cache, you can significantly reduce internet traffic and improve the speed of image pulls for your containerized environments. 🌐💨 |
4 | 4 |
|
5 | 5 | This script will generate a `compose.yaml` file (same as `docker-compose.yml`). It will include one registry service for each registry mirror you wish to set up. A Traefik Proxy will be placed as a frontend for routing and providing a TLS endpoint. Additionally, a Redis service will be provided to enhance performance. |
6 | 6 |
|
| 7 | +## Features ✨ |
| 8 | + |
| 9 | +- **Multi-Registry Support**: Set up mirrors for Docker Hub, GitHub Container Registry (GHCR), or any other container registries. |
| 10 | +- **Private Registry Integration**: Easily add a private registry to push and pull images from your private repositories. |
| 11 | +- **Bandwidth Optimization**: Save bandwidth by caching container images locally, reducing repeated downloads. |
| 12 | +- **Speed Improvements**: Expedite image pulls within your network, leading to faster deployments and scaling. |
| 13 | +- **Docker and Kubernetes Compatibility**: Seamlessly integrates with Docker and Kubernetes environments. |
| 14 | +- **Advanced Configuration**: Customize registry settings, including TTL and credentials, with a user-friendly setup. |
| 15 | +- **Simple Deployment**: Leverage Docker Compose for a straightforward setup and management of services. |
| 16 | +- **Traefik Proxy Integration**: Use Traefik for intelligent routing and secure TLS endpoints out of the box. |
| 17 | +- **Performance Enhancements**: Utilize Redis to improve caching operations and reduce latency. |
| 18 | +- **Environment-Friendly**: Lower external data transfer, contributing to a reduced carbon footprint. |
| 19 | + |
7 | 20 | ## Table of Contents 📚 |
8 | 21 |
|
9 | 22 | - [Multi-Registry Pull Through Cache Setup Guide 🚀](#multi-registry-pull-through-cache-setup-guide-) |
| 23 | + - [Features ✨](#features-) |
10 | 24 | - [Table of Contents 📚](#table-of-contents-) |
11 | 25 | - [Purpose of the Project 🎯](#purpose-of-the-project-) |
12 | 26 | - [How to Set Up the Project 🛠️](#how-to-set-up-the-project-️) |
@@ -46,7 +60,6 @@ By using a pull-through cache, you can: |
46 | 60 | - Access to the internet to pull initial images |
47 | 61 | - Basic knowledge of Docker, Kubernetes, and container registries |
48 | 62 |
|
49 | | - |
50 | 63 | ### Running with Docker |
51 | 64 |
|
52 | 65 | #### Run the Setup Script |
@@ -100,7 +113,7 @@ docker run --rm -ti -v "./config.yaml:/app/config.yaml" -v "./compose:/app/compo |
100 | 113 | ``` |
101 | 114 |
|
102 | 115 | 5. **Review Advanced Configuration** |
103 | | - After running the setup script, you should manually review the `config.yaml` file for advanced configurations such as TLS settings, Let's Encrypt, and more. More details about this file in [CONFIG.md](CONFIG.md) |
| 116 | + After running the setup script, you should manually review the `config.yaml` file for advanced configurations such as TLS settings, Let's Encrypt, addition of private registries, and more. More details about this file in [CONFIG.md](CONFIG.md) |
104 | 117 |
|
105 | 118 | ```bash |
106 | 119 | nano config.yaml # or use your preferred text editor |
@@ -199,12 +212,12 @@ For Kubernetes clusters, you'll probably need to configure each node's container |
199 | 212 |
|
200 | 213 | ## Conclusion 🎉 |
201 | 214 |
|
202 | | -Congratulations! You've now set up a multi-registry pull-through cache that will serve as a local mirror for your container images. Enjoy faster image pulls, reduced external bandwidth, and a more resilient container environment! |
| 215 | +Congratulations! You've now set up a multi-registry pull-through cache that will serve as a local mirror for your container images, including private registry configurations. Enjoy faster image pulls, reduced external bandwidth, and a more resilient container environment! |
203 | 216 |
|
204 | 217 | --- |
205 | 218 |
|
206 | 219 | Feel free to contribute to this project by submitting issues or pull requests. For questions or support, open an issue on the project's GitHub page. Happy caching! 🐋💾 |
207 | 220 |
|
208 | 221 | --- |
209 | 222 |
|
210 | | -**Keywords**: Docker, container registry, pull-through cache, Docker Hub mirror, containerd, dockerd, Kubernetes, k3s, RKE, RKE2, image caching, setup guide, local mirror, container image optimization. |
| 223 | +**Keywords**: Docker, container registry, pull-through cache, Docker Hub mirror, private registry, containerd, dockerd, Kubernetes, k3s, RKE, RKE2, image caching, setup guide, local mirror, container image optimization. |
0 commit comments