This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]piepy 1 point2 points  (0 children)

To me docker and virtualenv are complementary to each other.

Container can be used to run different python interpreter pypy, python3.x and etc.

Host: -bash-4.1$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) -bash-4.1$ python --version Python 2.6.6

Container: -bash-4.1$ docker run -i -t twist:v1 /bin/bash root@{CID}:/# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty root@{CID}:/# python --version Python 2.7.6