How does the lnmp server in the docker container start up with it?
How to ensure that the container does not close automatically after starting?
Docker suggests a container and a service. You can split nginx, mysql, PHP-FPM(PHP) into different containers. When you split, you can use docker’s restart mechanism to ensure the availability of the service. Please refer to my method.docker-node.js