How to Assign More Memory to Docker Container

If you’re using docker-for-windows or docker-for-mac, you can easily add it from the Whale🐳 icon in the taskbar and go to Preferences -> Advanced: