You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [Change the PHP Version](#Change-the-PHP-Version)
30
30
- [Add/Remove a Docker Container](#AddRemove-a-Docker-Container)
@@ -62,13 +62,13 @@ Seriously!!!
62
62
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.
63
63
64
64
65
-
<aname="Default-Containers"></a>
66
-
## Default Containers
65
+
<aname="Supported-Containers"></a>
66
+
## Supported Containers
67
67
68
68
- PHP
69
69
- NGINX
70
70
- MySQL
71
-
-Postgres
71
+
-PostgreSQL
72
72
- Redis
73
73
- Data Volume
74
74
@@ -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
169
170
docker-compose stop
170
171
```
171
172
173
+
To stop single container do:
174
+
175
+
```php
176
+
docker-compose stop {container-name}
177
+
```
178
+
172
179
<br>
173
180
<aname="Delete-all-existing-Containers"></a>
174
181
#### Delete all existing Containers
@@ -178,7 +185,7 @@ docker-compose rm -f
178
185
179
186
*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):*
180
187
181
-
`docker stop {container-name}`
188
+
182
189
183
190
184
191
<br>
@@ -198,8 +205,8 @@ docker-compose build php
198
205
199
206
200
207
<br>
201
-
<aname="Use-Redis-in-Laravel"></a>
202
-
#### Use Redis in Laravel
208
+
<aname="Use-Redis"></a>
209
+
#### Use Redis
203
210
204
211
1 - First make sure you run the Redis Container with the `docker-compose` command.
0 commit comments