yappabe / Vagrant Docker
Licence: mit
A lightweight Docker based development environment
Stars: ✭ 17
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Vagrant Docker
Vagrant Projects
Vagrant projects for Oracle products and other examples
Stars: ✭ 642 (+3676.47%)
Mutual labels: vagrant, virtualbox
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+1682.35%)
Mutual labels: vagrant, virtualbox
wordpress
The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
Stars: ✭ 95 (+458.82%)
Mutual labels: vagrant, virtualbox
Magento2 Vagrant For Developers
Vagrant Box for Magento 2 Developers
Stars: ✭ 451 (+2552.94%)
Mutual labels: vagrant, virtualbox
New-Machine
Utilizing Vagrant, Packer, Chocolatey, and Boxstarter to Configure my Dev Machines
Stars: ✭ 26 (+52.94%)
Mutual labels: vagrant, virtualbox
Vagrant Boxes
baseboxes build with packer.io for use with vagrant
Stars: ✭ 291 (+1611.76%)
Mutual labels: vagrant, virtualbox
magento2-fast-vm
Optimal vagrant developer box for Magento2. Folders synced by nfs/rsync. This box includes Magento developer utilities.
Stars: ✭ 89 (+423.53%)
Mutual labels: vagrant, virtualbox
Pentest Env
Pentest environment deployer (kali linux + targets) using vagrant and chef.
Stars: ✭ 610 (+3488.24%)
Mutual labels: vagrant, virtualbox
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+22129.41%)
Mutual labels: vagrant, virtualbox
packer-ubuntu
No description or website provided.
Stars: ✭ 29 (+70.59%)
Mutual labels: vagrant, virtualbox
Packer Boxes
Jeff Geerling's Packer build configurations for Vagrant boxes.
Stars: ✭ 495 (+2811.76%)
Mutual labels: vagrant, virtualbox
halcyon-vagrant-kubernetes
Vagrant deployment mechanism for halcyon-kubernetes.
Stars: ✭ 12 (-29.41%)
Mutual labels: vagrant, virtualbox
packer-ubuntu-18.04
packer example - Ubuntu Server 18.04.5
Stars: ✭ 37 (+117.65%)
Mutual labels: vagrant, virtualbox
ansible virtualization
Ansible Collection: Virtualization roles
Stars: ✭ 31 (+82.35%)
Mutual labels: vagrant, virtualbox
Vagrant Persistent Storage
A Vagrant plugin that creates a persistent storage and attaches it to guest machine.
Stars: ✭ 285 (+1576.47%)
Mutual labels: vagrant, virtualbox
k3s-homeops-ansible
Bootstrap a k3s cluster on top of Ubuntu 20.04
Stars: ✭ 47 (+176.47%)
Mutual labels: vagrant, virtualbox
ansible-role-test-vms
DEPRECATED - A Vagrant configuration to test Ansible roles against a variety of Linux distributions.
Stars: ✭ 42 (+147.06%)
Mutual labels: vagrant, virtualbox
Kube Ansible
Build a Kubernetes cluster via Ansible playbook. 🔧 🔧 🔧
Stars: ✭ 354 (+1982.35%)
Mutual labels: vagrant, virtualbox
Packer Templates
Packer templates for Vagrant base boxes
Stars: ✭ 471 (+2670.59%)
Mutual labels: vagrant, virtualbox
A lightweight Docker VM
Getting started
Requirements
- Brew
- Brew Cask
- Virtualbox
- Vagrant
- Docker
- Docker Compose
Install Requirements
Vagrant and Virtualbox
brew cask install vagrant
brew cask install virtualbox
vagrant plugin install vagrant-disksize
Docker
brew install docker
brew install docker-compose --ignore-dependencies
Add dns resolver domain
sudo vim /etc/resolver/docker
Add the following line:
nameserver 172.17.8.101
Also add resolver files for any additional domains you might want to use (eg. docker.example.com)
Vagrant up
git clone https://github.com/yappabe/vagrant-docker.git
cd vagrant-docker
vagrant up
An issue with port-forwarding, reload to fix this.
vagrant reload
Flush DNS cache
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
Reboot
You may need to reboot your device to ensure /etc/resolver/docker
is being used.
DOCKER_HOST
env var
Add the export DOCKER_HOST=tcp://localhost:2375
You can add this in .bashrc
or any file that runs every interactive shell launch.
Test Docker
docker ps
When the following line appears:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd17358a9eda ailispaw/dnsdock:1.16.4 "dnsdock" 8 days ago Up 21 hours 0.0.0.0:53->53/udp dnsdock
You can now visit http://dnsdock.docker/services
.
Install Docker Compose
brew install docker-compose
Example docker-compose.yml for Symfony development in PHP 7.1.
version: '3'
services:
nginx:
image: yappabe/nginx:1.9
volumes:
- ./docker/shared/:/shared
- ./:/var/www/app
depends_on:
- php
env_file: 'app/config/.env'
environment:
DNSDOCK_ALIAS: project.docker, admin.project.docker
mysql:
image: mariadb:10
env_file: 'app/config/.env'
environment:
DNSDOCK_ALIAS: mysql.project.docker
php:
image: yappabe/php:7.1
volumes:
- ./docker/shared/:/shared
- ./:/var/www/app
- vendor:/vendor
links:
- mysql
working_dir: /var/www/app
env_file: 'app/config/.env'
environment:
- HISTFILE=/shared/.bash_history
depends_on:
- mysql
- mailcatcher
mailcatcher:
image: yappabe/mailcatcher
environment:
DNSDOCK_ALIAS: mailcatcher.project.docker
volumes:
mysql-data:
vendor:
And app/config/.env
APP_ENV=dev
APP_DEBUG=1
DOCUMENT_ROOT=/var/www/app/web
INDEX_FILE=app_dev.php
PHP_FPM_SOCKET=php:9000
MYSQL_ROOT_PASSWORD=dev
MYSQL_DATABASE=project
MYSQL_USER=root
MYSQL_HOST=mysql
MYSQL_PORT=3306
PHP_FPM_USER=root
PHP_ERROR_REPORTING=E_ALL
HISTFILE=/shared/.bash_history
MAILER_TRANSPORT=smtp
MAILER_HOST=mailcatcher
MAILER_USER=null
MAILER_PASSWORD=null
MAILER_PORT=1025
MAILER_SECURITY=null
docker-compose up -d
Troubleshoot
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].