php + centos 환경의 컨테이너에서 페이지로딩이 수시로 5초 이상 걸리는 상황 발생. 원래는 0.3초 이내 로딩 되는 페이지인데 수.시.로 docker-desktop 18 버전까지는 advanced 설정이 있던것 같은데 현재 20 버전에서는 advanced 설정이 없다. 여기서 CPU 와 Memory 설정이 가능하다던데.. wsl2 설정으로 해결 # turn off all wsl instances such as docker-desktop wsl --shutdown notepad "$env:USERPROFILE/.wslconfig" Edit .wslconfig file with notepad and write down these settings: [wsl2] memory=3GB # Limits VM memory in WSL 2 up to 3GB processors=4 # Makes the WSL 2 VM use two virtual processors 출처 : https://itnext.io/wsl2-tips-limit-cpu-memory-when-using-docker-c022535faf6f