A light Laravel development environment for Docker.
Includes latest Nginx, PHP, NodeJs, Mariadb
git clone https://github.com/cookievu/docker-laravel.git
cd docker-laravel
cp .env.example .env
docker-compose up -d --build
Done.
Enter to http://localhost & start to work
List running containers after created
docker ps
List all containers
docker ps -a
Stop an running container
docker stop [container ID or container name]
Stop all running container
docker-compose stop
Remove all containers
docker-compose down
- Make sure there are no containers listening to the ports used with this setup