Do you use Docker or Virtualenv for Python?

Recently I wrote a post on using Docker for Jupyter and Python with the Intel Python2 distribition for data science. With this, I got some feedback to use virtualenv instead of Docker.

I started using Docker for the desire to learn how to make portable environments that can be moved from one machine to another with ease. With this, Docker comes with the benefit of adding other services into an application through the use of multiple containers. I am currently learning to use docker-compose to create an application with multiple containers. This allows for adding services such as PostgreSQL, MongoDB, Jupyter notebooks, or Apache Hadoop.

What do you typically use and why?

References

Cover image sourced from Docker Wallpapers

原文链接:Do you use Docker or Virtualenv for Python?

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容