{"id":25129708,"url":"https://github.com/benhunter/nebula-docker-quickstart","last_synced_at":"2026-04-28T18:02:58.647Z","repository":{"id":204358281,"uuid":"711649084","full_name":"benhunter/nebula-docker-quickstart","owner":"benhunter","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-30T08:47:59.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T12:18:40.189Z","etag":null,"topics":["docker","docker-compose","nebula","network","overlay"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benhunter.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,"governance":null}},"created_at":"2023-10-29T22:22:06.000Z","updated_at":"2023-10-30T08:09:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a4c2cdf-5161-4fa1-b9e8-34f0e54d3bb1","html_url":"https://github.com/benhunter/nebula-docker-quickstart","commit_stats":null,"previous_names":["benhunter/nebula-docker-quickstart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Fnebula-docker-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Fnebula-docker-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Fnebula-docker-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Fnebula-docker-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhunter","download_url":"https://codeload.github.com/benhunter/nebula-docker-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899635,"owners_count":20851894,"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","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":["docker","docker-compose","nebula","network","overlay"],"created_at":"2025-02-08T12:18:38.023Z","updated_at":"2026-04-28T18:02:53.615Z","avatar_url":"https://github.com/benhunter.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nebula Docker Quickstart\n\nA Nebula overlay network in Docker Compose. Configures a Lighthouse and two server endpoints. Demonstrates nginx and ssh accessible only from inside the overlay network.\n\nBased on the [Nebula Quick Start Guide](https://nebula.defined.net/docs/guides/quick-start/). Tested on Mac with M1 Apple Silicon.\n\n# Setup\n\n```sh\n./setup-mac.sh\ndocker compose up -d --build\n```\n\n# SSH\n\n```sh\ndocker compose exec netshoot2 ssh root@192.168.100.11\n```\n\nWon't work outside overlay:\n```sh\ndocker compose exec netshoot2 ssh root@192.168.42.11\n```\n\n# Nginx\n\n```sh\ndocker compose exec netshoot2 http 192.168.100.11\n```\n\nWon't work outside overlay:\n```sh\ndocker compose exec netshoot2 http 192.168.42.11\n```\n\n# ICMP\n\n```sh\ndocker compose exec server1 ping 192.168.100.1 -c 2\ndocker compose exec server1 ping 192.168.42.42 -c 2\ndocker compose exec server1 ping 192.168.100.12 -c 2\ndocker compose exec server1 ping 192.168.42.12 -c 2\ndocker compose exec lighthouse ping 192.168.100.11 -c 2\ndocker compose exec lighthouse ping 192.168.42.11 -c 2\ndocker compose exec lighthouse ping 192.168.100.12 -c 2\ndocker compose exec lighthouse ping 192.168.42.12 -c 2\ndocker compose exec server2 ping 192.168.100.1 -c 2\ndocker compose exec server2 ping 192.168.42.42 -c 2\ndocker compose exec server2 ping 192.168.100.11 -c 2\ndocker compose exec server2 ping 192.168.42.11 -c 2\n```\n# Iterate\n\n```sh\ndocker compose down \u0026\u0026 docker compose up -d --build\n```\n\nRun single container with normal nebula entrypoint\n```sh\ndocker run --rm -v ./lighthouse/config.yaml:/config/config.yaml -v ./lighthouse/pki:/etc/nebula --cap-add=NET_ADMIN --device /dev/net/tun nebula-alpine\n```\n\nRun and attach to shell\n```sh\ndocker run -it --rm -v ./lighthouse/config.yaml:/config/config.yaml -v ./lighthouse/pki:/etc/nebula --cap-add=NET_ADMIN --device /dev/net/tun --entrypoint sh nebula-alpine\n```\n\n\nDirect ssh (would reqire a host port mapping)\n```sh\nssh -i ubuntu-ssh/ssh_keys/id_rsa -p 2222 root@localhost\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Fnebula-docker-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhunter%2Fnebula-docker-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Fnebula-docker-quickstart/lists"}