{"id":23138467,"url":"https://github.com/deployable/docker-debianvm","last_synced_at":"2026-01-18T09:59:57.812Z","repository":{"id":149113381,"uuid":"75189122","full_name":"deployable/docker-debianvm","owner":"deployable","description":"Docker Debian VM","archived":false,"fork":false,"pushed_at":"2018-04-04T01:22:08.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T20:28:08.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/deployable.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-30T13:24:58.000Z","updated_at":"2019-03-19T19:56:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff6dbc62-77af-49ac-9d3e-a17c872d8ef0","html_url":"https://github.com/deployable/docker-debianvm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-debianvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-debianvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-debianvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deployable%2Fdocker-debianvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deployable","download_url":"https://codeload.github.com/deployable/docker-debianvm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157133,"owners_count":20893210,"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":[],"created_at":"2024-12-17T13:10:56.829Z","updated_at":"2026-01-18T09:59:57.806Z","avatar_url":"https://github.com/deployable.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Debian VM\n\nVagrant Debian VM running the latest Docker, with a host accessible bridge network available for containers.\n\n### Usage\n\n```\nosx# vagrant up\nosx# export DOCKER_HOST=tcp://192.168.98.30:2375\nosx# CID=$(docker run --net=vmhost --ip 192.168.98.10 -d --rm alpine nc -l -p 8080 -e echo hi!)\nosx# nc 192.168.98.10 8080\nhi!\n```\n\nMore detailed networking\n```\nosx# vagrant ssh\n\ndkr$ sudo docker network inspect vmhost\ndkr# CID=$(sudo docker run --net=vmhost --ip 192.168.98.20 -d --rm alpine sleep 1800)\ndkr# sudo docker exec $CID ip ad sh eth0\ndkr# sudo docker exec $CID ping -c 2 192.168.98.30   # Container -\u003e Docker Host\ndkr# sudo docker exec $CID ping -c 2 192.168.98.1    # Container -\u003e VM Host\n\nosx# ping -c 2 192.168.98.20                         # VM host -\u003e container\nPING 192.168.98.20 (192.168.98.20): 56 data bytes\n64 bytes from 192.168.98.20: icmp_seq=0 ttl=64 time=0.479 ms\n64 bytes from 192.168.98.20: icmp_seq=1 ttl=64 time=0.383 ms\n```\n\n### VM Interfaces\n\n`eth0` is the standard VM NAT interface for Vagrant\n\n`eth1` is a VM host only adapter attached to the 192.168.98.0/24 host network (vboxnet)\n\nThe `brocker0` bridge has `eth1` attached and is assigned 192.168.98.30. This is the Docker host address to use. `export DOCKER_HOST=tcp://192.168.98.30:2375`\n\nContainers attached to the `vmhost` Docker network, which is backed by the `brocker0` bridge, will be auto assigned an address in the 192.168.98.128/25 range and be directly accessible from the VM Host. No port mapping required. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fdocker-debianvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeployable%2Fdocker-debianvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeployable%2Fdocker-debianvm/lists"}