- React.JS (frontend)
- Express.JS (backend)
- Docker
- Clone the repository
- In terminal, go to
/medium-app
directory and use below command
docker-compose up --build
I have encountered this issue where the Docker process is running in background even after the docker is closed.
Docker uses Windows Subsystem for Linux which is a feature of Microsoft Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting.
Go to Powershell
wsl --shutdown
To reduce the RAM usage by WSL by giving a .wslconfig
config file.
Go to C:/Users/<user_id>/
and create a file .wslconfig
and the below details.
Add processors can be half of total processors.
[wsl2]
memory=2GB
processors=1
You can check your processor cores in Task Manager > Performance > CPU > Here check for Cores field.
After this config file is created. You can start docker and it only consumes the resources within the limit.