For a CICD pipeline purpose, we are attempting to setup CI runner -> install Docker and hence VirtualBox on an Amazon AWS EC2 OS X instance, and getting failure at the very last stage of validating and running package scripts as:
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “VirtualBox.pkg”.)
We are aware of the kernel extensions requirements needed for VirtualBox and which can be granted by running system in recovery mode and setting up the relevant things, but we are currently not able to boot the 'SSH'd EC2 instance into recovery mode and set the relevant flags, nor we can do that using UI since its all on terminal.
Are we using the correct approach? Is there any workaround for the same (Docker without VirtualBox or alternatives etc.)
References:
How do I start the docker daemon on macOS?
https://stackoverflow.com/questions/44084846/cannot-connect-to-the-docker-daemon-on-macos
Any help is appreciated!