docker-alpine-python2 icon indicating copy to clipboard operation
docker-alpine-python2 copied to clipboard

The smallest Docker image with Python 2.7 (~50MB)

Docker Stars Docker Pulls

Python 2.7 Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains Python 2.7.

This image is only 53MB on disk.

Usage Example

$ docker run --rm frolvlad/alpine-python2 python -c 'print u"Hello World"'

Once you have run this command you will get printed 'Hello World' from Python!

NOTE: pip is also available in this image.