Home  >  Q&A  >  body text

docker - 基于centos:7镜像生成的ejabberd容器,为何启动容器就自动退出?

我是在官方centos:7镜像安装完ejabberd后,写了个启动脚本,然后docker commit生成一个新镜像,新镜像生成的容器总是启动后就退出了,这是为什么啊?

PHP中文网PHP中文网2709 days ago708

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-22 09:02:21

    It may be a problem with the startup script, or there may be no pending tasks.

    reply
    0
  • Cancelreply