Launch an extra docker daemon on osx

I’d like to spin up a docker daemon separate from my personal daemon I use with the docker cli. I’m on osx.

I have a library that uses Docker and I’d like to run tests against a controlled environment. Is it possible to launch an isolated Docker daemon instance with it’s own volumes, images, containers, etc?

Thanks,
Adam

My understanding is that Docker on Mac only works with Docker Desktop, which runs Docker in a VM.

If you want to run another Docker instance, you could spin up any VM with a Linux and Docker installed.

Ah thank you! You helped me see Vagrant with docker installed is the right tool for the job.