Note
As of 2024 this has been fixed and is no longer required.
Workaround for Docker Desktop's VM not dropping cache causing excessive memory consumption
This workaround is based on the fix described in microsoft/WSL#8725 (comment)
Run docker compose up -d
- The container is restarted automatically when your PC reboots