Dockerfile of Apache & PHP Environment with Microsoft SQL Server ODBC Driver Support Built on Ubuntu Trusty
docker pull ppoffice/apache-php-mssql-odbc
docker build -t ppoffice/apache-php-mssql-odbc .
docker run -d -p 80:80 ppoffice/apache-php-mssql-odbc
With custom www
folder:
docker run -d -p 80:80 -v (your site's folder):/var/www/ ppoffice/apache-php-mssql-odbc
Uncomment these two lines in Dockerfile to fix "non-UTF8" chars encoding and time format problems:
ADD freetds.conf /etc/freetds/
ADD locales.conf /etc/freetds/