PHP docker image (CLI, FPM) with most needed extensions based on Centos 7
10K+
This is a Dockerfile instructions to build a container image with PHP-CLI & PHP-FPM based on Centos 7 and Remi package repository
{tag} - 5.6 or 7.0, see additional information about pack below
Dockerfile
FROM gurukami/php:{tag}
...
Run container
{host-src} - your folder of data on host machine for mount it into guest (virtual) machine
docker run --name gurukami_php56 -d -p 9000:9000 -v {host-src}:/share gurukami/php:{tag}
Exec CLI scripts
docker exec -t -i gurukami_php56 php56 /share/...path_to_file
For more information about run command, see https://docs.docker.com/engine/reference/run/
tag: 5.6
tag: 7.0
xdebug.idekey=gurukami
The MIT license
Copyright (c) 2016 Gurukami, http://gurukami.com/
Content type
Image
Digest
Size
186.2 MB
Last updated
almost 10 years ago
docker pull gurukami/php