{"id":16726320,"url":"https://github.com/brunobonacci/vagrant-docker-weave","last_synced_at":"2025-07-27T20:33:46.222Z","repository":{"id":26955802,"uuid":"30418819","full_name":"BrunoBonacci/vagrant-docker-weave","owner":"BrunoBonacci","description":"Multi nodes vagrant setup for docker and weave testing","archived":false,"fork":false,"pushed_at":"2015-02-16T16:13:18.000Z","size":256,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T15:29:35.670Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrunoBonacci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-06T15:31:23.000Z","updated_at":"2015-12-22T10:26:20.000Z","dependencies_parsed_at":"2022-08-24T15:03:49.815Z","dependency_job_id":null,"html_url":"https://github.com/BrunoBonacci/vagrant-docker-weave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BrunoBonacci/vagrant-docker-weave","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fvagrant-docker-weave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fvagrant-docker-weave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fvagrant-docker-weave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fvagrant-docker-weave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrunoBonacci","download_url":"https://codeload.github.com/BrunoBonacci/vagrant-docker-weave/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoBonacci%2Fvagrant-docker-weave/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267418855,"owners_count":24084051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12T22:52:51.649Z","updated_at":"2025-07-27T20:33:46.134Z","avatar_url":"https://github.com/BrunoBonacci.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vagrant-docker-weave\n\nMulti nodes vagrant setup for Docker and Weave testing.\n\nThis Vagrant project allows you to easily setup and test multiple\nconfiguration of Docker and Weave.\n\n`vagrant-docker-weave` repo available at: [https://github.com/BrunoBonacci/vagrant-docker-weave](https://github.com/BrunoBonacci/vagrant-docker-weave)\n\n\nAuthors:\n\n  - Bruno Bonacci\n\n## Documentation convensions\n\nWe will have to execute a number of different commands in different boxes.\nTo easily identify which box are we referring to we will follow this convension:\n\n    $ echo \"this is the host machine, like your laptop\"\n    node2$ echo \"this is a command to execute in the Vagrant node2\"\n    cnt1$ echo \"this command is to be run inside the container1\"\n\nTo start the cluster run:\n\n    $ vagrant up\n\nTo ssh into any of the three nodes just type:\n\n    $ vagrant ssh \u003cnode_name\u003e\n    \nExample, to ssh into node 3 type:\n\n    $ vagrant ssh node3\n\nTo access a specific container first you need to ssh into the node which is hosting\nthe container, then run\n\n    $ docker attach \u003ccontainer-id\u003e\n\nthe `container-id` can be retrieved with\n\n    $ docker ps\n\nTo stop the cluster:\n\n    $ vagrant halt\n\nTo dispose the cluster\n\n    $ vagrant destroy\n\n\n## Usage\n\nYou can start the cluster of nodes with:\n\n    $ vagrant up\n\nThis will start 3 nodes with a host-only network set up on `20.20.20.21/24`.\nEvery node will `have docker` and `weave` pre-installed.\n\nGenerally we are going to try to create a network topology for our containers\nas the main container network. For this reason our container will be started\nspecifying `--net=none` to Docker to instruct it to not create the default container's network.\nWhere this is not possible I will highlight case by case.\n\nFor a more interative session I do suggest to open at least three independent terminal windows\nand ssh into all three nodes.\nThen you can choose any of the following sample and run the node setup scripts.\n\n  * [Simple network](001-simple-network) - single network with three containers on a private network\n  * [Two isolated networks](002-isolated-networks) - two networks which are isolated from each other.\n  * [Exposing a network](003-external-access) - how to give access to a network from the outside world.\n  * [Network with DNS](004-working-with-DNS) - Sample of Weave DNS with docker containers\n\n## License\n\nCopyright © 2015 B. Bonacci\n\nDistributed under the Apache License v 2.0 (http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunobonacci%2Fvagrant-docker-weave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunobonacci%2Fvagrant-docker-weave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunobonacci%2Fvagrant-docker-weave/lists"}