We recommend 16 GB of RAM when working with containerization / virtualization. You can certainly get by with 8 GB but you may want to keep other applications to a minimum. It is also dependant on the RAM configuration required if using virtualization. By default the DevTools Docker Host is configured to run with 4 GB of RAM.
Homebrew is also required for package installation.
For Virtualization you can choose one of the following
VirtualBox is required.
Docker is required to be running as a system service.