容器启动命令需要包含daemon off; 否则docker 容器在启动后就会自动退出
示例:
ENTRYPOINT /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf -g "daemon off;"