Learn Docker by building a Microservice
Excellent tutorial! I'm a newcomer to Docker, and this was quite helpful. I'm currently using Vagrant to run my local dev environment and it's been OK. But I can see how using containers to split components up can make testing much easier.<p>One question I have though is how useful is Docker for deploying production applications?<p>Firstly, can plain Docker be used for the whole setup or is something like Kubernetes required to tie the containers together?<p>Secondly, is there a performance hit when you use multiple Docker containers on the same server? Or should it be a one-to-one relation i.e. one container per as server? If so, why not just use plain servers with Chef or Puppet for server management?<p>These questions are assuming that I'm using my own servers - something like DigitalOcean or AWS. I'm not a huge fan of managed container services; it feels like there's too much "magic" going on behind the scenes.