UPDATE TO PHP 7.4-apache
285
Base image docker | debian:stretch-slim | apache24 | php7.4 or php5.6
debian:stretch-slim
PHP_V=7.4
docker build -t apache24-php72-composer-yii2:latest
80 http, 443 https, 2323 ssh (etc/ssh/sshd_config)
docker run -it -d \
--name=apache24-php72-composer-yii2 \
-p 8350:80 \
-p 2323:2323 \
-v /some/www-html/:/var/www/html \
-v /some/vhost:/var/www/vhost \
apache24-php72-composer-yii2
docker service create \
--name apache24-php72-composer-yii2 \
--restart-condition on-failure \
--mount type=bind,source=/some/www-html/,target=/var/www/html \
--mount type=bind,source=/some/vhost,target=:/var/www/vhost \
--network apps-web \
apache24-php72-composer-yii2
Content type
Image
Digest
Size
242.9 MB
Last updated
over 5 years ago
docker pull akbartk/apache24-php72-composer-yii2