I like the idea of modulating applications in containers (db, fronted, backed ...) However, according to Docker docs, "Compose is great for development, testing, and middleware environments . " The proposal does not say anything about the work environment. So I am confused here.
Is it better to use a Dockerfile to create a production image from scratch and install the entire LAMP stack (etc.)? Or is it better to build a production environment using docker-compose.yml ? Is there any reason (overhead, binding, etc.) that Docker does not explicitly say that Compose is great for production?
docker docker-compose dockerfile
Lukasz Dynowski
source share