Alpine Linux, php, php-fpm, nginx, git, composer for Docker
Branch | PHP | Note |
---|---|---|
main | 8.4 | stable |
php-8.4 | 8.4 | stable |
php-8.3 | 8.3 | stable |
php-8.2 | 8.2 | stable |
php-8.1 | 8.1 | stable |
php-8.0 | 8.0 | stable - not updating anymore |
php-7.4 | 7.4 | stable - not updating anymore |
php-7.3 | 7.3 | stable - not updating anymore |
php-7.2 | 7.2 | stable - not updating anymore |
php-7.1 | 7.1 | stable - not updating anymore |
build image:
$ docker build -t docker-php .
run container:
$ docker run -d -p 8080:8080 docker-php
open a browser and go to:
http://localhost:8080/
connect to container with ssh:
$ docker exec -it CONTAINER_ID sh
delete container:
$ docker rm -f CONTAINER_ID
cooming soon...
- php-pcntl
- php-session
- php-mbstring
- php-json
- php-xml
- php-curl
- php-mysqli
- php-pdo
- php-pdo_mysql
- php-iconv
- php-dom
- php-phar
- php-openssl
- php-tokenizer
- php-xmlwriter
- php-simplexml
- php-ctype
- php-zlib
- php-redis
cooming soon...
docker-php is open-sourced software licensed under the MIT license.