Create A Docker for Running Apache and PHP
Below is the script for creating a docker which contain Apache and PHP,
docker run --rm \ --detach \ --name=web_01 \ --net mynet \ --ip 192.168.0.29 \ --publish 10209:80 \ --volume="$PWD"/apps:/app \ --volume="$PWD"/logs:/app/application/logs \ --workdir=/app \ -e PHP_DATE_TIMEZONE='Asia/Jakarta' \ -e LOG_STDOUT='/logs' \ -e LOG_STDERR='/logs' \ webdevops/php-apache:alpine