docker-magento
docker-magento copied to clipboard
I found that the magento container stops automatically. A manual restart is required each time.
Description I found that the magento container stops automatically. A manual restart is required each time.
Steps To Reproduce
- Whenever I start it, for about a week, the magento container stops automatically.
Expected Result Stay active all the time.
Actual Result Automatically stop, the website cannot be opened.
i have the same issue too, on Linux Ubuntu
I'd need more info on this.
- What operating system are you running?
- How long does it run before the container stops?
- Which container stops? Use this name in next step
- Can you post the logs of the failing container? For example, if it is
phpfpm
, rundocker-compose logs phpfpm
and then post the final few lines. This may tell us why the container is crashing.
I'm suspecting your system is running out of memory. I haven't experienced any container crashes myself, so at the moment, I'm unable to replicate the issue given the "Steps to Reproduce" above.
An idea for fixing this issue.
Add restart: always
in compose.yaml
services:
app:
restart: always