If you're on Linux you can use lxc-box to quickly spin up containers and VMs. I made a wrapper that creates them, installs codex and shares directories with the host in a single command, using a docker-like syntax
How about distrobox?
How about distrobox?