We have a large PHP application that's quite challenging to initiate on a development machine. This situation has led us to seek a better solution, which we believe may be Docker development environments. Our goal is to ensure a smooth setup on development machines, as we currently spend approximately 5-7 hours setting up the project for every new developer.
Now, we are facing another issue. While developing, we run the PHP project in another Docker container. After some research, I found out about the Docker official image and numerous reasons why not to use it. However, these reasons primarily pertain to CI, not development environments.
Unfortunately, I couldn't find more information on this issue, or definitive advice on whether it's a good or a bad idea, and for what reasons. Therefore, I am kindly asking the community for guidance. Should I proceed with this? If so, are there any best practices? Or, are there better alternatives for Docker-in-Docker development?
I acknowledge that these questions are somewhat general, but I couldn't find any specific information on this topic. I want to ensure that I know the best practices before I start working on this project.