{"id":15971041,"url":"https://github.com/samuell/devbox-base","last_synced_at":"2026-04-20T11:31:28.240Z","repository":{"id":28169806,"uuid":"31671035","full_name":"samuell/devbox-base","owner":"samuell","description":"A Vagrant box (Virtualbox or Docker as providers and Ansible provisioning) base image, to use as template for setting up specialized development environments.","archived":false,"fork":false,"pushed_at":"2015-03-04T17:50:10.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T19:18:32.435Z","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/samuell.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}},"created_at":"2015-03-04T17:49:55.000Z","updated_at":"2016-01-12T01:03:52.000Z","dependencies_parsed_at":"2022-08-22T18:10:52.252Z","dependency_job_id":null,"html_url":"https://github.com/samuell/devbox-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samuell/devbox-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fdevbox-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fdevbox-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fdevbox-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fdevbox-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuell","download_url":"https://codeload.github.com/samuell/devbox-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuell%2Fdevbox-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32045147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T10:33:29.490Z","status":"ssl_error","status_checked_at":"2026-04-20T10:32:30.107Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07T20:06:37.043Z","updated_at":"2026-04-20T11:31:28.218Z","avatar_url":"https://github.com/samuell.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevBox-Base\n*With Docker or Virtualbox as provider and Ansible provisioning*\n\nA Vagrant box (Virtualbox or Docker as providers and Ansible provisioning)\nbase image, to use as template for setting up specialized development environments.\n\n## Prerequisites\n\n- [Vagrant](https://www.vagrantup.com/)\n- [Ansible](http://www.ansible.com/)\n- [VirtualBox](https://www.virtualbox.org/) (Not required if you use Docker as provider!)\n- [Docker](https://www.docker.com) (Not required if you use Virtualbox as provider!)\n\n### Installing the requirements in Ubuntu (tested with 14.04)\n\n1. Install Virtualbox:\n\t```bash\n\tsudo apt-get install virtualbox\n\t```\n\n2. Install Docker:\n\t```bash\n\tsudo apt-get install docker.io\n\t```\n\n3. Install a recent version of ansible:\n   ```bash\n   sudo apt-get install ansible/trusty-backports\n   ```\n\n   *(if you ubuntu version is \"trusty\", otherwise, replace it with your appropriate version)*\n4. Install Vagrant, by first downloadng the proper .deb file from [vagrantup.com](https://www.vagrantup.com/downloads.html)\n\n5. ... and then installing it with:\n\t```bash\n\tsudo dpkg -i \u003cdeb-file\u003e\n\t```\n\n## Setup and Usage\n\n#### Clone the github repository:\n\n```bash\ngit clone git@github.com:samuell/devbox-base\ncd devbox-base\n```\n\n#### Bring up the VM\n\nWith docker provider (Expect it to take at least ~8m):\n\n```bash\nvagrant up docker\n```\n\nWith VirtualBox provider (Expect it to take at least ~20m):\n\n```bash\nvagrant up virtualbox\n```\n\n#### Log in to the VM\n\nWith docker provider:\n\n```bash\nvagrant ssh docker\n```\n\nWith VirtualBox provider:\n\n```bash\nvagrant ssh virtualbox\n```\n\n#### A tip on how you can upload your existing git ssh keys to the new vm:\n\nWith the following command you can get the info you need to run scp\nagainst the machine:\n\n```bash\nvagrant ssh-config [docker | virtualbox]\n```\n\nNote the hostname and port number (and identity file, if you with),\nand run, for example:\n\n```bash\nscp -i \u003cidentity-file-path\u003e -P \u003cportno\u003e \\\n\t~/.ssh/id_rsa_\u003cwhateveryounamedit\u003e \\\n\tvagrant@\u003chostname\u003e:/home/vagrant/.ssh/\n```\n\nThen, sometimes, in order to get the new key activated in your shell\nafter logging in to the vm, you might need to do:\n\n```bash\nssh-agent bash -l\nssh-add ~/.ssh/id_rsa_\u003cwhateveryounamedit\u003e\n```\n\n- Autocompletion will happen automatically\n- If you have turned off the YouCompleteMe role, you will get autocompletion with `\u003cC-x\u003e\u003cC-o\u003e`\n\n## Known issues\n\n- There are some really red message from the docker daemon when running `vagrant halt`.\n  Everything seems to work as expected though (including the shutdown)\n- There are some red message on vagrant up, but they are nothing serious, and can be ignored for now.\n\n## References\n\n- [Vagrant \u0026 Ansible Quickstart Tutorial](http://adamcod.es/2014/09/23/vagrant-ansible-quickstart-tutorial.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell%2Fdevbox-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuell%2Fdevbox-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuell%2Fdevbox-base/lists"}