Php with microsft sql server driver support, centos based
506
PHP PDO Drivers: sqlsrv, pgsql, mysql, sqlite
$ docker run --name app-name -p 80:8080 -v /path/to/project/root:/va/www/app josevieirame/php:7.0-apache
To mount project root (index.php must be in public/ ) and expose port 80
Understanding the docker-compose compose tool is appreciated in order to use the following configuration files.
####
# ATENTION:
# Replace occurences of sandbox with your project's name
####
# v2 sintax
version: '2'
services:
# PHP
app:
image: josevieirame/php:7.0-apache # choose yout tag here
container_name: sandbox-app
volumes:
- .:/var/www/app
ports:
- "80:8080"
Content type
Image
Digest
Size
170.8 MB
Last updated
about 10 years ago
docker pull josevieirame/php