https://laradock.io/documentation/
For first time use this guide: https://laradock.io/getting-started/
docker ps
You can also use the following command if you want to see only this project containers:
docker-compose ps
docker-compose stop
To stop single container do:
docker-compose stop {container-name}
docker-compose down
Run commands in a running Container.
-
First list the current running containers with docker ps
-
Enter any container using:
docker-compose exec {container-name} bash
Example: enter MySQL container
docker-compose exec mysql bash
Example: enter to MySQL prompt within MySQL container
docker-compose exec mysql mysql -udefault -psecret
-
To exit a container, type
exit
.