Docker Image with Debian 10 for Laravel + SQL Server + XDEBUG
578
Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV + XDEBUG
First of all, go to your project folder and create a new volume named debian10_php74
$ docker volume create --driver local --opt type=none --opt device=$(pwd) --opt o=bind debian10_php74
Then you can run your container and bind it to your new volume:
$ docker container run -d -p 8080:80 --mount type=volume,src=debian10_php74,dst=/var/www antonioanerao/debian10-php74-sqlsrv:latest
Create a folder named html inside of your project. You can put all public content inside the html folder and let vendors folder in the root directory of your project
Content type
Image
Digest
Size
342.4 MB
Last updated
about 4 years ago
docker pull antonioanerao/debian10-php74-sqlsrv-develop