├── fetch_swarm.py └── README.md /fetch_swarm.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | # Set the API endpoint and search query 4 | url = "https://api.github.com/search/repositories" 5 | query = "docker swarm" 6 | 7 | # Set the query parameters, including the search query and API token 8 | params = {"q": query, "access_token": ""} 9 | 10 | # Send the GET request to the API endpoint 11 | response = requests.get(url, params=params) 12 | 13 | # Check if the request was successful 14 | if response.status_code == 200: 15 | # Get the list of repositories from the response JSON 16 | repos = response.json()["items"] 17 | 18 | # Print the name and URL of each repository 19 | for repo in repos: 20 | print(f"{repo['full_name']}: {repo['html_url']}") 21 | else: 22 | # Print an error message if the request was not successful 23 | print(f"Error {response.status_code}: {response.text}") 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![stars](https://img.shields.io/github/stars/collabnix/dockerswarm) 2 | ![forks](https://img.shields.io/github/forks/collabnix/dockerswarm) 3 | ![Discord](https://img.shields.io/discord/1020180904129335379) 4 | ![issues](https://img.shields.io/github/issues/collabnix/dockerswarm) 5 | ![Visitor count](https://shields-io-visitor-counter.herokuapp.com/badge?page=collabnix.dockerswarm) 6 | ![Twitter](https://img.shields.io/twitter/follow/collabnix?style=social) 7 | 8 | 9 | # A Curated List of Docker Swarm Resources 10 | 11 | 12 | 13 | ## Blogs 14 | 15 | 16 | 17 | - [Docker Swarm, a User-Friendly Alternative to Kubernetes](https://thenewstack.io/docker-swarm-a-user-friendly-alternative-to-kubernetes/) 18 | - [Getting Started with Docker Swarm](https://collabnix.com/getting-started-with-docker-swarm/) 19 | - [Running Redis on 5-Node Docker Swarm Cluster in 2 Minutes](https://collabnix.com/getting-started-with-redis-inside-docker-container-in-2-minutes/) 20 | - [Top 5 Cool Projects around Docker, Raspberry Pi & Blinkt! ~ Monitoring Docker Swarm using LEDs – Part I](https://collabnix.com/top-5-cool-projects-around-docker-raspberry-pi-blinkt-monitoring-docker-swarm-using-leds-part-i/) 21 | - [How to Deploy Apache Kafka on AWS Platform using Docker Swarm Mode?](https://collabnix.com/implementing-apache-kafka-on-docker-swarm-running-on-aws-platform-in-5-minutes/) 22 | - [Sysctl Support for Docker Swarm Cluster for the first time in Docker 19.03.0 Pre-Release](https://collabnix.com/sysctl-support-for-docker-swarm-cluster-arrives-with-docker-19-03-0-beta-1/) 23 | - [Running Cron Jobs container on 5-Node Docker Swarm Mode Cluster](https://collabnix.com/running-cron-jobs-container-on-5-node-docker-swarm-mode-cluster/) 24 | - [How I built Elastic Stack for Docker Swarm using Docker Application Packages(docker-app)](https://collabnix.com/how-i-built-elastic-stack-using-docker-application-packagedocker-app/) 25 | - [When Kubernetes Meet Docker Swarm for the First time under Docker for Mac 17.12 Release](https://collabnix.com/integration-of-docker-swarm-kubernetes-under-docker-for-mac-platform/) 26 | - [Hybrid Docker Swarm Mode Cluster with Multi-OS Application Deployment](https://collabnix.com/building-hybrid-docker-swarm-mode-cluster-on-google-cloud-platform/) 27 | - [2-minutes to Kubernetes Cluster on Docker for Mac 18.01 using Swarm CLI](https://collabnix.com/running-kubernetes-cluster-on-docker-for-mac-18-01-using-swarm-cli/) 28 | 29 | 30 | ## Tools 31 | 32 | | S.No. | Name | Description | 33 | |-------| ---------- | ---------| 34 | | 1 | [Docker Compose](https://docs.docker.com/compose/) | a tool for defining and running multi-container Docker application | 35 | | 2 | [Docker Machine](https://docs.docker.com/machine/) | create Docker hosts | 36 | | 3 | [Docker Stack](https://docs.docker.com/engine/swarm/stack-deploy/) |Manage Swarm stacks| 37 | | 4 | [Portainer](https://portainer.io/) |a graphical user interface for managing Docker Swarm.| 38 | | 5 | [Weave Net](https://www.weave.works/oss/net/) |a tool for visualizing and managing Docker Swarm clusters.| 39 | | 6 | [Swarm Visualizer](https://github.com/dockersamples/docker-swarm-visualizer) | a tool that visualizes the state of a Docker Swarm cluster, including nodes, services, and tasks.| 40 | | 7 | [Traefik](https://traefik.io/) |a modern, dynamic, and fast reverse proxy and load balancer for Docker containers.| 41 | | 8 | [Routed Swarm](https://github.com/flavioaiello/swarm-router) | An extension to Docker Swarm that provides a seamless integration of routing and service discovery to your Swarm cluster| 42 | | 9 | [Fabio](https://github.com/fabiolb/fabio) |a fast, modern, and flexible reverse proxy for routing HTTP and TCP traffic.| 43 | | 10 | [Swarmpit]() | a web-based management and monitoring platform for Docker Swarm| 44 | | 11 | [Interlock](https://github.com/ehazlett/interlock) |a reverse proxy and load balancer for Docker containers that integrates with the Docker API and event stream.| 45 | | 12 | [Logspout]() | a log router for Docker containers that can route logs to various log management tools like Logstash, Fluentd, and others] 46 | | 13 | [Drainer](https://github.com/lukaspeter/drainer) |a tool for draining and migrating services from one node to another in a Docker Swarm cluster, with zero downtime.| 47 | | 14 | [Shipyard](https://shipyard-project.com/) |a tool for managing Docker resources, including containers, images, networks, and volumes.| 48 | | 15 | [Consul](https://www.consul.io/) |a tool for service discovery, configuration management, and orchestration in a Swarm environment.| 49 | | 16 | [cAdvisor](https://github.com/google/cadvisor)|a tool for analyzing resource usage and performance characteristics of running containers.| 50 | | 17 | [Flux](https://fluxcd.github.io/flux/)|a tool for automating the deployment of containers in a Swarm environment, including continuous integration and delivery (CI/CD) pipelines.| 51 | | 18 | [Docker Flow Proxy](https://github.com/vfarcic/docker-flow-proxy)|a dynamic reverse proxy for Docker containers that supports service discovery and automatic reconfiguration.| 52 | | 19 | [Swarmprom](https://github.com/stefanprodan/swarmprom)|a bundle of tools for monitoring and visualizing a Docker Swarm cluster, including Prometheus, Grafana, cAdvisor, and others.| 53 | | 20 | [Watchtower](https://github.com/containrrr/watchtower) | a tool that automatically updates running Docker containers to the latest version of their respective images| 54 | | 21 | [StackStorm](https://stackstorm.com/) | a tool for automating and orchestrating Docker containers and services in a Swarm environment.| 55 | | 22 | [Swarmlet](https://github.com/swarmlet/swarmlet) | A self-hosted, open-source Platform as a Service that enables easy swarm deployments, load balancing, automatic SSL, metrics, analytics and more. | 56 | 57 | 58 | 59 | ## Labs & Tutorials 60 | 61 | 62 | - [What is Docker Swarm](http://dockerlabs.collabnix.com/intermediate/workshop/what-is-docker-swarm.html)
63 | - [Docker Swarm : Terminology](http://dockerlabs.collabnix.com/intermediate/workshop/Docker-Swarm-Terminology.html) 64 | 65 | ### Docker Services | Scaling | Draining Node | Rescheduling Containers 66 | 67 | - [Creating 5-Node Docker Swarm Cluster](http://dockerlabs.collabnix.com/intermediate/workshop/getting-started-with-swarm.html)
68 | - [Lab #1: Creating Overlay Network](http://dockerlabs.collabnix.com/intermediate/workshop/lab1-docker-network-overlay.html)
69 | - [Lab #2: Deploy Services ](http://dockerlabs.collabnix.com/intermediate/workshop/lab2-deploy-services.html)
70 | - [Lab #3: Inspecting Docker Swarm Service States](http://dockerlabs.collabnix.com/intermediate/workshop/lab3-inspect-services.html)
71 | - [Lab #4: Scaling Docker Swarm Services](http://dockerlabs.collabnix.com/intermediate/workshop/lab4-scaling-services.html)
72 | - [Lab #5: Deploy the application components as Docker services ](http://dockerlabs.collabnix.com/intermediate/workshop/lab5-deploy-app-component-as-docker-services.html)
73 | - [Lab #6: Drain a node and reschedule the containers](http://dockerlabs.collabnix.com/intermediate/workshop/lab6-drain-a-node-reschedule.html)
74 | - [Lab #7: Cleaning Up ](http://dockerlabs.collabnix.com/intermediate/workshop/lab7-cleaning-up.html)
75 | 76 | ## Companies using Docker Swarm(or used Swarm in the past) 77 | 78 | - [Portainer](https://portainer.io) 79 | - [Spotify](https://www.slideshare.net/rohanrsingh/docker-at-spotify) 80 | - [PayPal](https://www.mirantis.com/cloud-case-studies/paypal/) 81 | - [The New York Times](https://www.youtube.com/watch?v=Ht2RF5o9geA) 82 | - [ADP](https://thenewstack.io/adp-adopted-container-mindset/) 83 | - [Yelp](https://thenewstack.io/docker-helped-yelp-leave-monolith-behind/) 84 | - [Delivery Hero](https://devopscon.io/blog/continuous-deployment-docker-swarm/) 85 | - [Hootsuite]() 86 | - [Splunk]() 87 | - [Zalando]() 88 | - [Munich Re]() 89 | 90 | ## Help & Support 91 | 92 | - [Docker Community Forum](https://forums.docker.com) 93 | - [Swarmkit Discourse Group](https://swarmkit.org/) 94 | 95 | 96 | 97 | --------------------------------------------------------------------------------