See how easy to setup docker environment for Laravel development. Setting Up Docker on mac el captain, I hope you may also install it on windows with git-bash terminal command tool support. Just follow the steps.

Get the commands from this videos:

Recreating mysql or PHP

docker-compose build mysql
docker-compose build php-fpm

Stop server and remove all files

docker-compose down

 

docker-compose stop / start / ps -a

Start the servers

docker-compose up -d nginx mysql

To enter the bash support in the container workspace

docker-compose exec workspace bash

To MySql command prompt

docker-compose exec workspace mysql

 

Please subscribe and share.