Re:What's new in Docker 1.13: prune, secrets, checkpoints an...
by XorNot on Tuesday January 31, 2017 @10:30AM
(#13531318)
Lately I've been sending a bunch of patches upstream to the runv project (https://github.com/hyperhq/runv). Turns out that wrapping the docker interface with full VM isolation is a model I very much like.
Virtual machines will also work.
Docker serves as a lightweight virtualization that will provide the same experience, assuming you are willing to keep to the kernel and Docker version "in sync" between prod and local.