Docker Community Forums

Share and learn in the Docker community.

Beginner asking about running multple, varied web stacks


(Deeperdata) #1

So I’ve been through a few Docker tutorials and seen the videos. The benefit I had in mind for my projects included being able to run multiple versions of a platform or language (e.g. PHP 5.3, 5.4, 5.5, etc) on a single web server but in different containers. In my limited amount of time researching Docker, I’m yet to see a complete example of someone using containers for hosting multiple and varying web stacks (e.g. LAMP, LEMP, MEAN running side-by-side on the same server but in different containers). Is this a common use case for Docker or am I going about this all wrong? If Docker is intended for solving simple web hosting problems such as this, does someone have a tutorial or guide they have used or would recommend for implementing a similar web server setup? Thanks in advance for your help.