Docker-Hub-frolvlad / docker-alpine-php

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

Home Page:https://hub.docker.com/r/frolvlad/alpine-php/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

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

https://hub.docker.com/r/frolvlad/alpine-php/

License:MIT License


Languages

Language:Dockerfile 100.0%