Nginx容器没有开始

I build the nginx container image successfully. but its not getting started. 

我走进了图像使用sudodocker运行-it imageid / bin / sh并尝试启动nginx容器。 find用于启动下面的nginx的脚本:

Entrypoint.sh:

 cd /app/server/sbin/ ./nginx -g 'daemon off' echo "After start" At the ./nginx command the script is not executing, am also not seeing any error. I cross verified the nginx status. 

命令来检查我的图像中的nginx状态:nginx -t命令。

nginx:configuration文件/opv/nginx-18/nginx/nginx.conf语法正常nginx:configuration文件/opv/nginx-18/nginx/nginx.conftesting成功请让我知道如何启动nginx命令。