1. 首页
  2. 服务器应用
  3. Web服务器
  4. supervisor下的Dockerfile的多服务镜像封装操作

supervisor下的Dockerfile的多服务镜像封装操作

上传者: 2021-07-07 20:16:03上传 PDF文件 196.87 KB 热度 7次

使用docker build -t system:test . 命令构建容器镜像没有异常,但是使用docker run -itd system:test运行容器就会显示容器不在运行。supervisor里是这么写的-n/--nodaemon -- run in the foreground ,加了-n让supervisor在前台保持运行就可以了。

下载地址
用户评论