This is a simple LAMP docker containers for personal development. Based on https://github.com/laradock/laradock
Use Docker first and learn about it later.
docker psYou can also use the following command if you want to see only this project containers:
docker-compose ps### Close all running Containers ```bash docker-compose stop ```
To stop single container do:
docker-compose stop {container-name}### Delete all existing Containers ```bash docker-compose down ```
### Enter a Container (run commands in a running Container)
1 - First list the current running containers with docker ps
2 - Enter any container using:
docker-compose exec {container-name} bashExample: enter MySQL container
docker-compose exec mysql bash3 - To exit a container, type exit.
### View the Log files The Nginx Log file is stored in the `logs/nginx` directory.
However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this:
docker logs {container-name}### Rebuild docker Re-build your PHP-FPM Container `docker-compose build php-fpm`.
### Change the timezone and other php.ini
EDIT php-fpm/php.ini
- Laradock (laradock)
MIT License (MIT)