I have installed Docker in my Windows 11 home edition and tried to pull Oracle standard DB image from container-registry.oracle.com. However i got the following error.
Make sure you shut down Docker and any other instances of wsl2. You can do this by going to a command prompt and type the command wsl — shutdown.
To create a .wslconfig file, simply open your File Explorer, and type and enter %UserProfile% to go to your profile directory in Windows.
Docker or WSL2 by default does not create these config files so we should do it ourselves. Create a new file called .wslconfig (make sure there are no .txt at the end)
Settings apply across all Linux distros running on WSL 2
[wsl2]
Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB