Docker Container Fails to Start - No Disk Space

I have a docker container that is in a reboot loop and it is spamming the following message:
FATAL: could not write lock file “postmaster.pid”: No space left on device

I have followed Microsoft’s documentation for increase WSL Virtual Hard Disks but get stuck at step 10 and 11 because the container isn’t running for me to run those commands.

How to manage WSL disk space | Microsoft Learn

Any insight on how to address this would be helpful.

All the commands have to run on the host “outside containers”. The container is not a virtual machine so it is not even booting or rebooting. When you increae the size of the disk on the host, the container can use it.

Also the data should be in the docker-desktop-data distribution where you can’t log in as far as I remember.

update:

It seems I forgot how it works on Windows. We discussed it on the forum multiple times, but you can check this too on github, sicne I could not find the topics on the forum yet : How to change 250G disk size limit. Where is it configured/defined ? · Issue #9672 · docker/for-win · GitHub