Platform to test with docker containers in developer environment

8/18/2015

We are currently moving towards microservices with Docker from a monolith application running in JBoss. I want to know the platform/tools/frameworks to be used to test these Docker containers in developer environment. Also what tools should be used to deploy these containers to this developer test environment.

Is it a good option to use some thing like Kubernetes with chef/puppet/vagrant?

-- John
chef
docker
kubernetes
puppet

2 Answers

8/20/2015

We have created and open-sourced a platform to develop and deploy docker based microservices. It supports service discovery, clustering, load balancing, health checks, configuration management, diagnosing and mini-DNS.

We are using it in our local development environment and production environment on AWS. We have a Vagrant box with everything prepared so you can give it a try:

http://armada.sh

https://github.com/armadaplatform/armada

-- Zibi
Source: StackOverflow

8/18/2015

I think so. Make sure to get service discovery, logging and virtual networking right. For the former you can check out skydns. Docker now has a few logging plugins you can use for log management. For virtual networking you can look for Flannel and Weave.

You want service discovery because Kubernetes will schedule the containers the way it sees fit and you need some way of telling what IP/port your microservice will be at. Virtual networking make it so each container has it's own subnet thus preventing port clashes in case you have two containers with the same ports exposed in the same host (kubernetes won't let it clash, it will schedule containers to run until you have hosts with ports available, if you try to create more it just won't run).

Also, you can try the built-in cluster tools in Docker itself, like docker service, docker network commands and Docker Swarm.

Docker-machine helps in case you already have a VM infrastructure in place.

-- Leandro M Barbosa
Source: StackOverflow