-[Change the PHP Version](#Change-the-PHP-Version)
-[Add/Remove a Docker Container](#AddRemove-a-Docker-Container)
...
...
@@ -62,13 +62,13 @@ Seriously!!!
Instead of providing a full Virtual Machines, like you get with Vagrant, Docker provides you **lightweight** Virtual Containers, that share the same kernel and allow to safely execute independent processes.
<aname="Default-Containers"></a>
## Default Containers
<aname="Supported-Containers"></a>
## Supported Containers
- PHP
- NGINX
- MySQL
- Postgres
- PostgreSQL
- Redis
- Data Volume
...
...
@@ -132,6 +132,7 @@ Note: you can choose your own combination of software's (containers), another ex
3 - Open your browser and visit your `{Docker-IP}` address (`http://xxx.xxx.xxx.xxx`).
...
...
@@ -169,6 +170,12 @@ docker ps
docker-compose stop
```
To stop single container do:
```php
docker-composestop{container-name}
```
<br>
<aname="Delete-all-existing-Containers"></a>
#### Delete all existing Containers
...
...
@@ -178,7 +185,7 @@ docker-compose rm -f
*Note: Careful with this command as it will delete your Data Volume Container as well. (if you want to keep your Database data than you should stop each container by itself as follow):*
`docker stop {container-name}`
<br>
...
...
@@ -198,8 +205,8 @@ docker-compose build php
<br>
<aname="Use-Redis-in-Laravel"></a>
#### Use Redis in Laravel
<aname="Use-Redis"></a>
#### Use Redis
1 - First make sure you run the Redis Container with the `docker-compose` command.