84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我用Dockerfile生成镜像,CMD运行了sh脚本启动lnmp所有服务,现在是终端进去重新启动lnmp服务,一切ok,用-d启动后再查看就是退出状态,不知该如何调整…
ringa_lee
Because lnmp is not a continuously running command, it will not run in the background. Let’s start the container through docker start.
Dockerfile file writing problems, for example, the JAVA service container TOMCAT cannot be successfully started using startup.sh and needs to be replaced with catalina.sh.
Because lnmp is not a continuously running command, it will not run in the background.
Let’s start the container through docker start.
Dockerfile file writing problems, for example, the JAVA service container TOMCAT cannot be successfully started using startup.sh and needs to be replaced with catalina.sh.