Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antonioanerao/dockerfile-debian10-php74-sqlsrv

Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV
https://github.com/antonioanerao/dockerfile-debian10-php74-sqlsrv

debian10 docker dockerfile php74 sqlsrv

Last synced: about 1 month ago
JSON representation

Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV

Awesome Lists containing this project

README

        

# Dockerfile Debian 10 for Laravel
Create a Docker Image with Debian 10, PHP 7.4, ODBC and SQLSRV

First of all, you need to build a new docker image from this Dockerfile. On your Dockerfile directory, run:

$ docker image build -t imageName .

Then, create a new Volume. For instance, you could name it debian10_php74

$ docker volume create debian10_php74

Now, you should run the following command to 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 imageName