{"id":19049328,"url":"https://github.com/cppforlife/docker-deployment","last_synced_at":"2025-10-08T11:46:01.813Z","repository":{"id":139337050,"uuid":"82852351","full_name":"cppforlife/docker-deployment","owner":"cppforlife","description":"Docker on VirtualBox","archived":false,"fork":false,"pushed_at":"2018-02-24T05:14:56.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T09:25:38.462Z","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/cppforlife.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":"2017-02-22T21:04:16.000Z","updated_at":"2017-03-16T20:11:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"dafbb9e7-622e-4c67-80e3-7a9c45f6587c","html_url":"https://github.com/cppforlife/docker-deployment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppforlife%2Fdocker-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppforlife%2Fdocker-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppforlife%2Fdocker-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppforlife%2Fdocker-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cppforlife","download_url":"https://codeload.github.com/cppforlife/docker-deployment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240105469,"owners_count":19748465,"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-11-08T23:10:33.782Z","updated_at":"2025-10-08T11:45:56.782Z","avatar_url":"https://github.com/cppforlife.png","language":"Shell","readme":"# docker-deployment\n\n- Requires new [BOSH CLI v2.0.1+](https://github.com/cloudfoundry/bosh-cli)\n\n```\n$ rm -f creds.yml\n\n$ bosh create-env docker.yml \\\n  --state ./state.json \\\n  -o ./virtualbox/cpi.yml \\\n  -o ./virtualbox/outbound-network.yml \\\n  -o jumpbox-user.yml \\\n  --vars-store ./creds.yml \\\n  -v internal_ip=192.168.50.8 \\\n  -v internal_gw=192.168.50.1 \\\n  -v internal_cidr=192.168.50.1/24 \\\n  -v outbound_network_name=NatNetwork\n```\n\nConnect to Docker from the host (mutual TLS):\n\n```\n$ export DOCKER_TLS_VERIFY=true\n$ export DOCKER_HOST=tcp://192.168.50.8:4243\n$ bosh int creds.yml --path /docker_client_ssl/ca \u003e ~/.docker/ca.pem\n$ bosh int creds.yml --path /docker_client_ssl/certificate \u003e ~/.docker/cert.pem\n$ bosh int creds.yml --path /docker_client_ssl/private_key \u003e ~/.docker/key.pem\n$ docker images\n```\n\nor, connect to Docker from the host (UNIX sock):\n\n```\n$ export DOCKER_HOST=unix:///var/run/docker.sock\n$ docker images\n```\n\nExample with VirtualBox shared folders:\n\n```\n$ bosh create-env docker.yml \\\n  --state ./state.json \\\n  -o ./virtualbox/cpi.yml \\\n  -o ./virtualbox/outbound-network.yml \\\n  -o ./virtualbox/shared-folders.yml \\\n  -o jumpbox-user.yml \\\n  --vars-store ./creds.yml \\\n  -v internal_ip=192.168.50.8 \\\n  -v internal_gw=192.168.50.1 \\\n  -v internal_cidr=192.168.50.1/24 \\\n  -v outbound_network_name=NatNetwork \\\n  -v shared_from=/tmp/foo \\\n  -v shared_to=/tmp/foo\n```\n\nCreate a network:\n\n```\n$ docker network create --subnet=10.10.0.2/16 net2\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppforlife%2Fdocker-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppforlife%2Fdocker-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppforlife%2Fdocker-deployment/lists"}