Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 580 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 580 Bytes

jprjr/php-fpm

This is an Arch Linux-based image with PHP-FPM installed.

It's pre-configured to listen on port 9000.

Usage

This is really meant to be used for building new docker images with your PHP app. Here's a blog post I wrote on using fastcgi and docker.

It uses php-fpm as the entrypoint.

Build

$ docker build -t <repo name>.

Run in foreground

$ docker run -p 9000 jprjr/php-fpm

Run in background

$ docker run -d -p 9000 jprjr/php-fpm

Exposed ports

  • 9000