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.
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.