How to run nomad job in local & isolated environment (aka docker compose)

Hi, we are migrating to Nomad and one thing we’d like to explore is running nomad jobs locally. I was able to do that via nomad’s local cluster (and same for consul) but it was all run on a host machine with multiple active shells. Plus, this was not isolated and we could run only one such setup per host.

I was suggested to try to combine this all under docker compose but it looks like Hashicorp opposes the idea of running nomad in docker.

Any suggestion how we can run nomad job locally and in isolated environment?

Our jobs consist of several service that run a single system that use Consul for services discovery within that jobs.