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
Copy file name to clipboardExpand all lines: docker/README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,7 +121,7 @@ docker-compose down
121
121
122
122
to terminate the containers.
123
123
124
-
### Clean / Rebuild / Fetch Latest DB Image
124
+
### Clean and Rebuild DB from latest image
125
125
126
126
To delete the active DB container, its volume and get the latest image / DB dump, simply run the following command:
127
127
@@ -140,6 +140,24 @@ docker-compose pull db
140
140
docker-compose build --no-cache db
141
141
```
142
142
143
+
### Clean all
144
+
145
+
To delete all containers for this project, its associated images and purge any remaining dangling images, simply run the following command:
146
+
147
+
On Linux / macOS:
148
+
149
+
```sh
150
+
cd docker
151
+
cleanall
152
+
```
153
+
154
+
On Windows:
155
+
```sh
156
+
cd docker
157
+
docker-compose down -v --rmi all
158
+
docker image prune
159
+
```
160
+
143
161
### Accessing MariaDB Port
144
162
145
163
The port is exposed but not mapped to `3306` to avoid potential conflicts with the host. To get the mapped port, run the command *(from the project `/docker` directory)*:
0 commit comments