The smallest Docker image with Python 3.7 (~57MB)
500K+
This image is based on Alpine Linux image, which is only a 5MB image, and contains Python 3.8.
This image is only 63MB on disk.
$ docker run --rm frolvlad/alpine-python3 python3 -c 'print("Hello World")'
Once you have run this command you will get printed 'Hello World' from Python! Or use it interactivelly:
$ docker run -it --rm frolvlad/alpine-python3 python3
NOTE: pip/pip3 is also available in this image.
Content type
Image
Digest
sha256:5bc75b0c7…
Size
23.2 MB
Last updated
over 1 year ago
docker pull frolvlad/alpine-python3