How to increase memory size that is available for a Docker container?

Hello everyone,

I use Docker for Desktop on Windows 10.

I run this Docker environment (postgresql container + airflow container):

I don’t know how to increase memory for a container,
in the airflow container I need to save trained scikit-learn model,
which is around 3GB and I can’t do it, but everything works fine for smaller models.

This is the volumes part from the docker-compose file:

volumes:
- ./dags:/usr/local/airflow/dags

Thanks