Skip to content

trmccormick/vagrant-docker-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-docker-examples

Setup for Vagrant Docker Development Environment

docker host

before bringing up any of the dockers bring up the docker-host-vm. If you forget to bring up the host vagrant will try to bring up the host when you vagrant up but I have noticed that it will fail the host will be running but you will need to vagrant up again for the docker to start.

docker virtual network

Setup the docker virtual network so that the containers can connect to mysql 1 - create new network $ docker network create

2 - Connect containers to network $ docker network connect

checking running dockers

vagrant ssh into the docker-host-vm then run docker ps this will list all running dockers.

running command in dockers

vagrant ssh into the docker-host-vm then run docker exec -t

About

Setup for Vagrant Docker Development Enviroment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published