I was playing with Docker last week and decided to replicate a virtual host environment where different domains should point to different containers running in the host machine. The same way we can easily do with Apache or Nginx.
After struggling a bit to grasp Docker’s concepts and gotchas, I was able to do it and found the result to be pretty cool. Actually if I ever need to create such environment I’ll use Docker.
Ended up writing a post is about my experience playing with Docker, I hope it can be useful to someone who needs to create a virtual host environment using Docker.