Re:Python 2.x vs. 3.x use survey
by valarauca1 on Wednesday December 10, 2014 @12:56PM
(#8730573)
I think the problem that is being had is Ubuntu packages. Which Docker in and of itself won't solve. All it will do is isolate packages from the rest of the OS. Which python is fairly generic, and building your own python libraries, and gutting python packages from Ubuntu will have the same affect.
Either way you are hand installing a lot of packages.
docker pull python:2.7
docker pull python:3
For more granular tags: https://registry.hub.docker.com/_/python/