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

The smallest Docker image with Python 3.7 (~57MB)

Docker Stars Docker Pulls

Python 3.9 Docker image

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.

Usage Example

$ 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.