In the long run I hope we start seeing distros or tools targeted specifically at building minimal Docker images. E.g. if I'm going to deploy a Ruby based web app in Docker, the stuff I need present in the container is _very_ limited.
Note docker isn't the only answer for this, for instance, you can use ordinary VMs with vagrant, but docker does it at ludicrous speed.
Also, production data has to be copied over separately?
Are these correct assumptions?
PS: I'm still trying to understand how docket/containers may fit in current process.
There would still be some differences, like if the kernel version on your local machine didn't match.
Note: I haven't tried this. Maybe it's a bad idea.
Sounds a lot like FreeBSD's release process, though personally I find that limiting!
The problem is of course that 'very close to' is not 'equal to'.
My own thoughts in this space are detailed at http://stani.sh/walter/cims/ and http://stani.sh/walter/pfcts/