How does Docker set up program self-startup

  docker, question

When Docker builds a mirror image, how do you set up the self-startup of the program?

When the container is created, the specified program starts automatically.

How to run multiple programs at the same time?

For example, I built a LTMP(Tengine) container myself. How can mysql and Tengine start up with the container?

Configure Supervisor daemon to start related services!