FrappeCRM Docker Container Keeps Crashing

I’ve installed FrappeCRM from the frappe/crm repository, using the “Getting Started (Development) Docker” option. While the installation was successful, the container crashes after about 3 minutes of browsing the CRM portal, displaying the errors below. Has anyone else encountered this issue? If so, how did you resolve it?

frappe-1 | 16:05:19 web.1 | 172.18.0.1 - - [28/Mar/2025 16:05:19] “POST /api/method/frappe.client.get HTTP/1.1” 200 -
frappe-1 | 16:05:19 web.1 | 172.18.0.1 - - [28/Mar/2025 16:05:19] “POST /api/method/frappe.desk.search.search_link HTTP/1.1” 200 -
frappe-1 | 16:05:51 system | worker.1 stopped (rc=0)
frappe-1 | 16:05:51 system | sending SIGTERM to web.1 (pid 999)
frappe-1 | 16:05:51 system | sending SIGTERM to socketio.1 (pid 1002)
frappe-1 | 16:05:51 system | sending SIGTERM to schedule.1 (pid 1003)
frappe-1 | 16:05:51 system | socketio.1 stopped (rc=-15)
frappe-1 | 16:05:51 system | schedule.1 stopped (rc=-15)
frappe-1 | 16:05:51 system | web.1 stopped (rc=-15)
frappe-1 exited with code 0

Hi,

What is the hosting environment as far as resources available (cpu/ram)?

This is a development environment. I am running docker desktop and frappe is started in WSL on Ubuntu 24.04.1 LTS. All my dev works are in WSL, and I’ve allocated 16GB and 6 CPU cores to containers running in WSL
Thus, with just the containers needed to run frappeCRM I get this error.

Are you starting the containers / frappe / crm any special way?

Nothing different, I am just following the steps described in GitHub - frappe/crm: Fully featured, open source CRM - Getting Started (Development) - Docker. It’s basically:

mkdir frappe-crm
cd frappe-crm

Download the docker-compose file

wget -O docker-compose.yml https://raw.githubusercontent.com/frappe/crm/develop/docker/docker-compose.yml

Download the setup script

wget -O init.sh https://raw.githubusercontent.com/frappe/crm/develop/docker/init.sh

docker compose up -d

I am also building frappe crm container but when i run the container on localhost port 8000 it is not returning any response. is their any additional step missed out their which we need to do.This shows me the following error

This page isn’t working

crm.localhost didn’t send any data.

ERR_EMPTY_RESPONSE