I have a Docker on Windows 10 which uses Ubuntu 20, WSL2, ... but it is very slow. I tried to set up confuguration in .wslconfig file which looks like
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=8GB
# Sets the VM to use two virtual processors
processors=4
# Sets amount of swap storage space to 8GB, default is 25% of available RAM
swap=12GB
I have a 16GB RAM on PC so I set up 12GB but docker desctop still shows me 4GB. What can I do to increase performance?
This is the only information about config in docker desctop.