Docker: Container keeps on restarting again on again

后端 未结 11 1583
傲寒
傲寒 2020-12-22 18:55

I today deployed an instance of MediaWiki using the appcontainers/mediawiki docker image, and I now have a new problem for which I cannot find any clue. After trying to atta

11条回答
  •  死守一世寂寞
    2020-12-22 19:09

    From personal experience it sounds like there is a problem within your docker container that is not allowing it to restart. So some process within the container is causing the restart to hang or some process is causing the container to crash on start.

    When you start the container make sure you start it detached "-d" if you are going to attach to it. (ex. "docker run -d mediawiki_web_1")

提交回复
热议问题