DEV Community

Discussion on: Do you use Docker or Virtualenv for Python?

Collapse
 
aghost7 profile image
Jonathan Boudreau

I use both docker and virtualenv for local development. I do this so I can containerize my editor, shell customizations, tmux, etc. Virtualenv is used to isolate dependencies from different projects I have.

The following command runs my development environment:

docker run --rm -ti aghost7/py-dev:3.5 tmux new

You can find all my images here: github.com/AGhost-7/docker-dev

Collapse
 
rosejcday profile image
Rose Day

Cool thanks! I will take a look.

Collapse
 
sysgazer profile image
dimitri

You're seriously awesome for posting your dev environment. Such a helpful boost.

Thank you.

Collapse
 
karlredman profile image
Karl N. Redman

Nice.
I've thought about using docker or singularity in a similar way but haven't taken the time to implement anything yet. It's great that you shared your environment -good stuffs.