What is the general usage of docker in a formal online environment

  docker, question

Following the trend, I have tried to understand how to mirror and then run, but I have little experience in actual use. I want to know how people usually put into actual production environment, or what the production environment docker can use.

For example, if I want to build a lamp environment, do I directly use centos+apache+php to make a complete image and then run it on the new machine? Or run their own centos, apache, php images on the new machine?

1. Run their own mirrors
2. Use docker-machine docker to customize your host
3. Use docker-compose to manage multiple containers (Example)
4. Collect docker’s Log
5.Security
6. deploy Gitlab, Docker Registry automatically builds app images, deploys