If you happen to be using macOS computers with Apple Silicon processors, you need to use a slightly (or very, depends) process for provisioning a VM with the required tools.
:warn: Currently my setup only works with
x86_64
emulation.
In order to get all the things running, you need a few extra tools on your host:
brew install vagrant qemu
#Due to dependency errors, we must install vbguest first..
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-qemu
Then, if everything goes fine, things could be pretty straightforward.
VAGRANT_VAGRANTFILE=Vagrantfile.m1mac vagrant up
Thanks to @adamivora and his effort, you can use another (easier) way of provisioning the necessary toolset on your host.
You need the following software installed:
docker compose build # takes ~20 minutes on a M1 Macbook Pro
docker compose run memory-analysis /bin/bash
This is faster, but it means you trust me with the process of building the image and not including any malicious code.
docker compose -f docker-compose.prebuilt.yml run memory-analysis /bin/bash