Sign inSign up

lcsbaroni/php

By lcsbaroni

Updated over 5 years ago

Docker image to run PHP applications based on Alpine

Image
0

3.8K

lcsbaroni/php repository overview

lcsbaroni/docker-php:7.2

PHP-FPM image based on Alpine Linux

Image is based on the oficial image of alpine

Docker image usage

docker run [docker-options] lcsbaroni/docker-php:7.2

Examples

Typical basic usage:

docker run -it lcsbaroni/docker-php:7.2

Typical usage in Dockerfile:

FROM lcsbaroni/docker-php:7.2
RUN echo "<?php phpinfo() ?>" > /var/www/localhost/htdocs/index.php

Typical usage:

docker run -it --link=somedb:db lcsbaroni/docker-php:7.2

Typical usage on docker-compose:

docker-compose up -d

Tag summary

Content type

Image

Digest

Size

158.7 MB

Last updated

over 5 years ago

docker pull lcsbaroni/php