I tend to develop patches inside containers (hive-dev-box) to be able to work on multiple patches in parallel
Running tests which do use docker were always a bit problematic for me - when I wanted to do it before: I manually exposed /var/lib/docker and added a rinetd forward by hand (which is not nice)
...with the current move to run Perf tests as well against a dockerized metastore exposes this problem a bit more for me.
I'm also considering to add the ability to use minikube with hive-dev-box ; but that's still needs exploring
it would be much easier to expose the address of the docker host I'm using...