简体   繁体   English

使用Python 2.7,PIP和标准库的Docker镜像

[英]Docker image with Python 2.7, PIP and Standard libs

I'm looking for a docker image that contains python 2.7, Standard libs, and pip installed. 我正在寻找一个包含python 2.7,标准库和pip的docker镜像。 (exactly what you got when installing Ubuntu 14.04 or 16.04). (正是你在安装Ubuntu 14.04或16.04时得到的)。 I've tried various version of python and Ubuntu on docker hub. 我在docker hub上尝试了各种版本的python和Ubuntu。 Any one has an idea or a lead how to do this ? 任何人有想法或领导如何做到这一点?

I believe colstrom/python:legacy is the right image that may help your need. 我相信colstrom/python:legacy是可以帮助您的需求的正确形象。

$ docker search colstrom/python
NAME              DESCRIPTION                   STARS     OFFICIAL   AUTOMATED
colstrom/python   Docker on Python, with pip!   1                    [OK]

Even if some library is missed, it can be fulfilled as part of your customized images as explained an example privided here 即使一些库是错过了,它可以实现作为自定义图像的一部分作为解释privided的例子在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM