Answer the question
In order to leave comments, you need to log in
Is there a generic LAMP Docker image?
Hello!
Is there a generic image for the LA(E)MP stack for web development? This means an image that contains the most required components with different versions (php for example), which can be included by uncommenting the line with the version / the entire section of the component. Scope of application - improvement of existing sites (transferred from the hosting, set up the environment for it, and start working).
Ideally, I would like to configure:
- php version (5.4 - 7. *)
- database access parameters
- path to document_root (it can be useful for sites on opencart, so as not to go into the configs every time)
Answer the question
In order to leave comments, you need to log in
Exist. There are many such https://github.com/sprintcube/docker-compose-lamp
As mentioned above, you need to look at docker-compose, and not the docker itself.
No, it doesn't exist, at least the docker itself is being updated and some configuration methods are changing. You can get good with docker-compose once and then make yourself a boilerplate repository in order to have a framework of settings and only slightly adapt them to new projects
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question