This image is based on Alpine Linux image, which is only a 5MB image, and contains Python 2.7.
docker run --rm apihackers/python2 python -c 'print("Hello World")'
Once you have run this command you will get printed 'Hello World' from Python!
NOTE: pip is also available in this image.
Content type
Image
Digest
Size
14.2 MB
Last updated
over 10 years ago
docker pull apihackers/python2