Skip to content

Demonstração de orquestração de containers com vagrant apresentado no Meetup Vagrant SP #2

License

Notifications You must be signed in to change notification settings

wsilva/meetup-vagrant-2nd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meetup-vagrant-2nd

Demonstração de orquestração de containers com vagrant apresentado no Meetup Vagrant SP #2

Instalar plugin docker compose

vagrant plugin install vagrant-docker-compose

Subindo VM e provisionando containers via plugin

vagrant up

Exportando variáveis de ambiente para localizar o docker service

export DOCKER_TLS_VERIFY=1
export DOCKER_HOST=tcp://192.168.10.10:2376 #se o nat estiver ok use localhost
export DOCKER_CERT_PATH=$(pwd)/tls

Para listar os containers rodando:

docker ps

Para acessar o boot2docker (VM)

vagrant ssh

Para ver o status global

vagrant global-status

About

Demonstração de orquestração de containers com vagrant apresentado no Meetup Vagrant SP #2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages