Dockerfile of Apache & PHP Environment with Microsoft SQL Server ODBC Driver Support Built on Ubuntu Trusty
docker pull lyubb/docker-mssql-php5
docker build -t lyubb/docker-mssql-php5 .
docker run -d -p 80:80 lyubb/docker-mssql-php5
With custom www
folder:
docker run -d -p 80:80 -v (your site's folder):/var/www/ lyubb/docker-mssql-php5
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/