During the creation of a plugin, I ended up running the risk of blowing up my install a lot. So, to make this all easier, I've created a Docker container for OpenMediaVault and a variant with omv-extras pre-installed available at https://hub.docker.com/r/ikogan/openmediavault.
I haven't done too much testing with this and don't really plan to run it for anything besides plugin building so any contributions are quite welcome.
Edit: Didn't see that another container exists at https://github.com/prbond/docker-images-openmediavault so now there are two.