Files
dockerfiles/php-fpm
2019-08-21 13:32:42 +08:00
..
2019-07-02 13:13:50 +08:00
2019-07-02 13:13:50 +08:00

php-fpm

This provides a Clear Linux* php-fpm instance.

Build

docker build -t clearlinux/php-fpm .

Or just pull it from Dockerhub

docker pull clearlinux/php-fpm

start a php-fpm instance

docker run --name some-php-fpm clearlinux/php-fpm

Test

docker exec -it some-php-fpm bash
php-fpm -t

More typical, php-fpm works with nginx, mariadb, for example in wordpress use case. For details, please refer to clearlinux wordpress micro service.

Extra Build ARGs

  • swupd_args Specifies SWUPD flags

Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg