{"id":16931509,"url":"https://github.com/dnephin/compose-swarm-sandbox","last_synced_at":"2026-05-17T19:39:28.935Z","repository":{"id":138667738,"uuid":"41938669","full_name":"dnephin/compose-swarm-sandbox","owner":"dnephin","description":"A sandboxed swarm cluster - using compose","archived":false,"fork":false,"pushed_at":"2016-02-25T00:56:30.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T04:10:18.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnephin.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-04T21:32:00.000Z","updated_at":"2023-10-06T08:52:42.000Z","dependencies_parsed_at":"2023-05-09T14:03:51.512Z","dependency_job_id":null,"html_url":"https://github.com/dnephin/compose-swarm-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dnephin/compose-swarm-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnephin%2Fcompose-swarm-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnephin%2Fcompose-swarm-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnephin%2Fcompose-swarm-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnephin%2Fcompose-swarm-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnephin","download_url":"https://codeload.github.com/dnephin/compose-swarm-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnephin%2Fcompose-swarm-sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33152266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:44:08.150Z","updated_at":"2026-05-17T19:39:28.910Z","avatar_url":"https://github.com/dnephin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nDocker Compose+Swarm using dind\n===============================\n\nA sandboxed swarm cluster.\n\n.. contents::\n    :backlinks: none\n\n\nSetup\n-----\n\n.. code:: sh\n\n    docker-compose up -d\n    eval \"$(./bin/env)\"\n\n\nRunning ``docker`` or ``docker-compose`` commands in the shell will run them\non the ``swarm`` sandbox.\n\n\nFeatures\n--------\n\nScale the number of swarm slaves or masters\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nTo increase or decrease the number of swarm slaves, run ``docker-compose scale``.\nThey will auto-join the cluster.\n\n.. code:: sh\n\n    docker-compose scale swarm.slave=3\n\n\nTo scale the number of master replicas:\n\n.. code:: sh\n\n    docker-compose scale swarm.master=3\n\n\nDiscovery Backends\n------------------\n\nThe default discovery backend is ``zookeeper``. To use ``etcd`` or ``consul``\nas the discovery backends you can run ``docker-compose`` with one of the extra\n``with-*.yml`` files.\n\n.. note::\n\n   This requires features only available in the (upcoming) docker-compose 1.5\n   release.\n\n.. code:: sh\n\n    docker-compose -f docker-compose.yml -f with-etcd.yml up\n\n\nTroubleshooting\n---------------\n\nDocker-in-docker and storage drivers\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf the ``swarm.slave`` containers fail to start with an error about\n``Error starting daemon: error initializing graphdriver: driver not supported``\nyou can adjust the storage in ``docker-compose.yml`` with the ``DOCKER_ARGS``\nenvironment variable.\n\nThe default storage driver is ``overlay``, but it may not be available on your\nkernel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnephin%2Fcompose-swarm-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnephin%2Fcompose-swarm-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnephin%2Fcompose-swarm-sandbox/lists"}