I agree with NogDog about Docker - it's much faster and lighter than VirtualBox. The setup is different and (in my experience) more difficult at first. especially if you're not overly familiar with yaml. However, I'll say it was totally worth the learning curve. I've got a Dockerfile and docker-compose.yml that I used to test CI4 when it first came out. I was using MySQL and not MSSQL, so that part's completely untested, but hopefully this can at least get your started.
Note that the CI install was in a directory called
project at the same level as the Dockerfile and docker_compose.yml files below.
RUN apt-get update && apt-get install -y \
RUN a2enmod rewrite headers
RUN docker-php-ext-install \
RUN docker-php-ext-enable \
RUN docker-php-ext-configure gd
RUN docker-php-source delete
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
RUN cd /var/www/html