Basic web development image
658
This image was made for developing web application in php language.
This image built on Fedora 25. It contains a httpd web server with php and php-mysql. You can access web server on port 80.
docker run -p 80:80 -v /var/www/html:/var/www/html --name web szokekaroly/fedora-http-phpYou need an initialized and configured mariadb docker image.
docker run -p 3306:3306 --name mariadb -v mariadb:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=yourpw mariadbdocker run -p 80:80 --name web --link mariadb:db szokekaroly/fedora-httpd-phpOr you can make a docker-composer file. Sample docker-compose file
docker run -p 80:80 -e XDEBUG_CONFIG="remote_host={{YOUR_IP_ADDRESS}}" szokekaroly/fedora-httpd-php:xdebug
example: docker run -p 80:80 -e XDEBUG_CONFIG="remote_host=192.168.0.2" szokekaroly/fedora-httpd-php:xdebug
Content type
Image
Digest
Size
163 MB
Last updated
almost 7 years ago
docker pull szokekaroly/fedora-httpd-php