{"id":20859147,"url":"https://github.com/daemonite/vagrant-docker","last_synced_at":"2025-07-01T16:09:01.805Z","repository":{"id":29749836,"uuid":"33293432","full_name":"Daemonite/vagrant-docker","owner":"Daemonite","description":"Vagrant definition for a virtual machine suitable for Docker development","archived":false,"fork":false,"pushed_at":"2015-05-05T07:20:21.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-08T00:48:15.564Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Daemonite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-02T06:38:24.000Z","updated_at":"2015-05-05T07:20:21.000Z","dependencies_parsed_at":"2022-09-12T17:31:36.119Z","dependency_job_id":null,"html_url":"https://github.com/Daemonite/vagrant-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Daemonite/vagrant-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daemonite%2Fvagrant-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daemonite%2Fvagrant-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daemonite%2Fvagrant-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daemonite%2Fvagrant-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daemonite","download_url":"https://codeload.github.com/Daemonite/vagrant-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daemonite%2Fvagrant-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262996442,"owners_count":23396903,"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-18T04:48:48.015Z","updated_at":"2025-07-01T16:09:01.786Z","avatar_url":"https://github.com/Daemonite.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant machine for Docker\n\nvagrant-docker is a [Vagrant](http://www.vagrantup.com/) definition for a virtual machine suitable for [Docker](http://www.docker.com) development.\n\n## Main features\n\n * Supports the [Virtualbox](https://www.virtualbox.org/) and [VMWare](https://www.vmware.com/) VM providers.\n * Operating system optimised for running Docker server and based on [Ubuntu](http://www.ubuntu.com) so developers can install any of their favourite Linux tools easily.\n * Includes the most recent stable releases of Docker and [Docker Compose](https://docs.docker.com/compose/).\n * Default port mappings and shares for easy development and testing of Docker containers.\n * Includes the insecure SSH key for phusion's [docker-baseimage](https://github.com/phusion/baseimage-docker) so you can SSH into containers based on that image.\n \nThis machine uses Docker-friendly base boxes built by [Phusion](http://www.phusion.nl/). See their [base box git repo](https://github.com/phusion/open-vagrant-boxes) for details of the features of the base box.\n\n## Configurable settings\n\nThe Vagrant machine has a small number of settings that can be configured by environment variables. Set these in your host user environment prior to running vagrant commands.\n\n### DOCKERHOST_MEMSIZE\n\nThe amount of memory in MB to allocate to the VM. Default is 1024.\n\n### DOCKERHOST_IPADDR\n\nThe IP address to assign to the VM on the virtual network that connects it to the host. By default Vagrant selects an unused IP address in a private network range.\n\n### DOCKER\\_FWDPORT\\_MIN, DOCKER\\_FWDPORT\\_MAX\n\nThe Vagrant definition maps a range of high ports from the VM to the host. Docker containers that publish ports in this range will have those ports accessible from the VM host. By default this range is 48000-48199, but this can be changed with the `DOCKER_FWDPORT_MIN` and `DOCKER_FWDPORT_MAX` variables.\n\n## Build folder\n\nThis VM enables the default share which maps the folder containing the Vagrantfile to the `/vagrant` folder in the guest VM.\n\nIf you create a folder named `build` under the project its contents will be ignored by Git. This makes it a suitable place to put your Docker Compose projects, Dockerfiles, and git repositories.\n\n## Shell shortcuts\n\nThe `vagrant` login in the VM is configured to contain a few shortcuts to assist Docker development:\n\n- `d` is an alias for \"docker\"\n- `dc` is an alias for \"docker-compose\"\n- `dclean` is an alias to delete all untagged Docker images (usually left over from old builds)\n- `dsh` is a Bash function that takes the name of a running container as an argument and opens an interactive Bash shell inside it via \"docker exec\"\n\n## Getting Docker and Compose updates\n\nIf a newer stable release of Docker is released, you should be able to upgrade your VM with `docker provision`.\n\nIf a newer version of Docker Compose is released, you will need to update the `DOCKER_COMPOSE_VERSION`\nvariable in the `Vagrantfile` and then create the VM with `vagrant destroy` and `vagrant up`.\nAlternately, you can upgrade by following the [Compose install instructions](https://docs.docker.com/compose/install/#install-compose).\n\n\n## Possible future enhancements\n\nIt may be useful to include a [Consul](https://www.consul.io/) server in standalone mode to support clustering via [Docker Swarm](https://docs.docker.com/swarm/) and service discovery through tools such as [registrator](https://github.com/gliderlabs/registrator) and [consul-template](https://github.com/hashicorp/consul-template).\n\n## License\n\nThis project is provided compliments of [Daemon](http://www.daemon.com.au/) and made available under the [MIT license](LICENSE.txt).\n\nThe insecure SSH key is copyrighted by [Phusion](http://www.phusion.nl/) and made available under the [MIT license](image/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaemonite%2Fvagrant-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaemonite%2Fvagrant-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaemonite%2Fvagrant-docker/lists"}