Inconsistent restart of container in a service

Hi :slight_smile:

I’ve installed Docker v17.03.0-ce on Debian 8.7.
I use Docker stack to start wildfly in a container. It can work without any problem during many days, but sometimes the service becomes suddenly unstable :

  • Traffic isn’t forwarded anymore to wildfly container, but wildfly still writes in logs.

  • Other containers are created in loop, and are blocked in “Created” state.

    docker ps -a

    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
    e0cf5e5b8d8b my-wildfly “/bin/sh -c '/start-container.sh” 8 secondes ago Created wildfly.1.0gwrpr8h7zelfkf7dsfa81hvc
    b63eaa2425b9 my-wildfly “/bin/sh -c '/start-container.sh” 15 secondes ago Created wildfly.1.a0wxxx30w8nxeys4i8tpnyh25
    7bde3a0ce43b my-wildfly “/bin/sh -c '/start-container.sh” 23 secondes ago Created wildfly.1.n85c8g46giolipjy068l8cmyw
    7ee8140d38a4 my-wildfly “/bin/sh -c '/start-container.sh” 31 secondes ago Created wildfly.1.wubghrdg0upk2dhp7aymnunz9
    a0adb3903524 my-wildfly “/bin/sh -c '/start-container.sh” 31 hours ago Up 31 hours wildfly.1.fsbxfox6ib3u8tcddqe3d5mum

Does anyone can explain that ?

Thank you :slight_smile: