You can build infra with cloud-init to achieve something similar. You start with base image (e.g. debian cloud-init image), you craft cloud-init script (like Dockerfile) and you end up with VM disk file which you can run.
It won't be better than docker, for sure, but if you're going to use VMs and stay sane, you'll need to reinvent it.
It won't be better than docker, for sure, but if you're going to use VMs and stay sane, you'll need to reinvent it.