Sign inSign up

frolvlad/alpine-php

By frolvlad

Updated over 1 year ago

The smallest Docker image with *only* PHP interpreter (17MB)

Buildkit cache
Image
6

10K+

frolvlad/alpine-php repository overview

Docker Stars Docker Pulls

PHP Docker image

This image is based on Alpine Linux image, which is only a 5MB image, and contains PHP programming language.

This image is only 17MB on disk.

NOTE: This image is not really intended for a site hosting use-case. It is created to run pure PHP code from a shell.

Usage Example

$ docker run --rm frolvlad/alpine-php php -r 'echo "Hello World";'

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

Tag summary

Content type

Image

Digest

sha256:74c3ad288

Size

6.8 MB

Last updated

over 1 year ago

docker pull frolvlad/alpine-php