Show HN: Python virtual environment, but backed by Docker

Show HN: Python virtual environment, but backed by Docker

In my personal experience sometimes is difficult to replicate the same local virtual environment, and eventually save it and share it with somebody else, especially if the one you want to share the environment with runs, for example, a different operating system. To create an environment run the following command:

For example, if you are in the root of a project named this could be:

This will create a Docker container with the latest Python version installed! If you want to create an environment with a specific Python version you only just need to add the to the previous command:

As you may have noticed, to create the environment you have to set a project directory.

Source: github.com