The repo https://hub.docker.com/r/pretzlaw/php/ holds the compiled container of https://github.com/pretzlaw/docker-php .
Hopefully we keep this up:
By that they are ready for your own dockerized hosting ;-)
Simple as that:
version: '3'
services:
php:
image: pretzlaw/php:5.3-apache
# Mount your project / data in "/var/www/html" (document root)
# or "/var/www" if you have a more complex setup.
volumes:
- ".:/var/www/html"
# Make it accessible via http://127.0.0.1:8000
ports:
- "8000:80"
Exchange the image name by one of the following tags.
Use one of these:
php:5.3-apache Dockerfilephp:5.3-fpm Dockerfilephp:5.4-apache Dockerfilephp:5.4-cli Dockerfilephp:5.4-fpm Dockerfilephp:5.5-apache Dockerfilephp:5.5-cli Dockerfilephp:5.5-fpm Dockerfilephp:5.6-apache Dockerfilephp:5.6-cli Dockerfilephp:5.6-fpm Dockerfilephp:7.0-apache Dockerfilephp:7.0-cli Dockerfilephp:7.0-fpm Dockerfilephp:7.1-apache Dockerfilephp:7.1-cli Dockerfilephp:7.1-fpm DockerfilePlease leave a message in the issue tracker: https://github.com/pretzlaw/docker-php/issues
Or a simple comment below.
Content type
Image
Digest
sha256:f4cbab41a…
Size
229.3 MB
Last updated
3 days ago
docker pull pretzlaw/php:7.4-apache