This Vagrant profile installs docker using the Ansible provisioner and finishes up with the docker-machine configuration. Vagrant and VirtualBox can be used to quickly build or rebuild virtual servers. There had also been occurrences where kernel modules had been removed, rendering it difficult to do system development.
It was slowing down my 16' Macbook Pro (32GB RAM, 6 CPUs), draining the battery, and causing the fans to constantly spin at full speed. Motivation: Docker for Mac was proving to be a workflow pain rather than a workflow gain.
These Vagrant boxes are intended to replace Docker for Mac and utilises docker-machine, Vagrant, VirtualBox and Ansible to provide a fully featured linux vm. If you need docker and kernel modules to support things like SCTP, IP_VS, WireGuard etc. Docker for Mac - Docker Machine / Vagrant / Ansible