{"repo":"vmorganp/Lazytainer","free":true,"listed":false,"github":"https://github.com/vmorganp/Lazytainer","clone":"git clone https://github.com/vmorganp/Lazytainer.git","description":"Docker container lazy loading","language":"Go","stars":754,"topics":["docker","docker-compose","dockerfile","docker-container","lazy-loading","lazyload","lazy","self-hosted","hacktoberfest2021","hacktoberfest"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Lazytainer - Lazy Load Containers Putting your containers to sleep --- https://github.com/vmorganp/Lazytainer/assets/31448722/91af5528-6fee-4837-b4d8-11c03e792e94 Quick Explanation Monitors network traffic to containers. If there is traffic, the container runs, otherwise the container is stopped/paused. for more details check out the Configuration section. Want to test it? 1. Clone the project 2. Start the stack This will create 2 containers that you can reach through a third \"lazytainer\" container 3. View the running container by navigating to its web ui at http://localhost:81 . You should see some information about the container 4. Close the tab and wait until the logs say \"stopped container\" 5. Navigate again to http://localhost:81 , it should be a dead page 6. Navigate to http://localhost:81 several times, enough to generate some network traffic, and it should start 7. To clean up, run Configuration Note: Lazytainer does not \"automatically\" start and stop all of your containers. You must apply a label to them and proxy their traffic through the Lazytainer container. Examples For examples of lazytainer in action, check out the Examples Groups Lazytainer starts and stops other containers in \"groups\" of one or more other containers. To assign a container to a lazytainer group, a label must be added. The label will look like this. To configure a group, add labels to the lazytainer container like this. Note that each is required to have a port(s) specified. These ports must al","default_branch":null,"files":null,"tree":[],"storefront":"/r/vmorganp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vmorganp/Lazytainer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}