https://github.com/m4rcu5nl/docker-php7-fpm-alpine
Docker image running php7-fpm on Alpine Linux
https://github.com/m4rcu5nl/docker-php7-fpm-alpine
alpine-linux-image docker-image php7
Last synced: about 2 months ago
JSON representation
Docker image running php7-fpm on Alpine Linux
- Host: GitHub
- URL: https://github.com/m4rcu5nl/docker-php7-fpm-alpine
- Owner: m4rcu5nl
- Created: 2017-08-28T21:47:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-10T00:01:47.000Z (almost 9 years ago)
- Last Synced: 2025-06-13T01:45:20.819Z (about 1 year ago)
- Topics: alpine-linux-image, docker-image, php7
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/m4rcu5nl/docker-php-fpm7-alpine) [](https://github.com/m4rcu5nl/docker-php-fpm7-alpine/issues)
docker-php-fpm7-alpine
======================
This image is created for use with my lighttpd image. It is, however, a pretty straight forward generic php-fpm7 image. Use it as you please.
Build example
-------------
```
docker build -t php-fpm7 .
```
Run example
-----------
```
docker run \
--detach \
--name php-fpm7 \
-v /absolute/path/to/docroot/on/host:/var/www/localhost/htdocs:rw \
php-fpm7
```
The above creates a detached container named *php-fpm7* and mounts a directory from the host's filesystem as a volume to the designated docroot inside the container.