Back

[SOLVED] docker compose build results in vite build error SIGKILL

  • 0
  • General
Kfir Zvi
9 Mar, 2023, 20:16

I cloned to Appwrite repo, ran docker build and got an error resulting from the vite build command ran from the console repo. Logs are attached. Can I get some directions on how to debug the issue?

TL;DR
User encountered an error while running 'docker compose build' resulting in a vite build error (SIGKILL). It was discovered that the issue was due to memory constraints set by Docker Desktop (default limit of 2GB). The solution was to increase the memory limit. User also mentions checking open ports, but it is uncertain if it's related to the build stage. Logs and request for debugging assistance were provided.
Drake
9 Mar, 2023, 20:22
Kfir Zvi
9 Mar, 2023, 20:25

Yes. The console project directory is populated with the source code. I also made sure to double check and ran the git submodule update --init command several times.

Drake
9 Mar, 2023, 20:32

weird...the only other thing i can think of is memory constraints. how much memory does your machine have? how much memory is allocated for docker?

Kfir Zvi
9 Mar, 2023, 20:43

I have a mac with 16GB of RAM. I did have an issue with available memory, but it specifically mentioned it, so I closed some apps and the error changed. Regarding to how much space is allocated to docker - I haven't set a limit. I'll try to see if there are any default limits. I also tried to check already open ports, but it fails in the build stage so I don't know if it's relevant.

Kfir Zvi
9 Mar, 2023, 20:46

It was an issue of memory. Docker Desktop sets the default limit to 2GB. Thanks a lot!

Drake
9 Mar, 2023, 20:51

[SOLVED] docker compose build results in vite build error SIGKILL

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more