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
Open http://localhost:8080 (MySQL user & password are set within .env file)
71
+
73
72
74
73
For a secure connection to phpMyAdmin use the **marvambass/phpmyadmin** build, append the following within the `docker-compose*.yml`:
75
74
@@ -88,7 +87,7 @@ phpmyadmin:
88
87
89
88
90
89
91
-
---
90
+
92
91
93
92
## Test Driven Development
94
93
These continuous integration services will fully test the creation of your container and can push the complete image to your private Docker repo if you desire.
@@ -108,44 +107,54 @@ List all running containers:
108
107
109
108
`docker ps`
110
109
110
+
111
111
List all containers (including stopped containers):
112
112
113
113
`docker ps -a`
114
114
115
+
115
116
Read the log of a running container:
116
117
117
118
`docker logs [CONTAINER ID OR NAME]`
118
119
120
+
119
121
Follow the log of a running container:
120
122
121
123
`docker logs -f [CONTAINER ID OR NAME]`
122
124
125
+
123
126
Read the Apache log:
124
127
125
128
`docker exec [CONTAINER ID OR NAME] cat ./data/apache2/logs/access_log`
126
129
130
+
127
131
Follow the Apache log:
128
132
129
133
`docker exec [CONTAINER ID OR NAME] tail -f ./data/apache2/logs/access_log`
130
134
135
+
131
136
Follow the outgoing mail log:
132
137
133
138
`docker exec [CONTAINER ID OR NAME] tail -f ./var/log/mail.log`
134
139
140
+
135
141
Gain terminal access to a running container:
136
142
137
143
`docker exec -it [CONTAINER ID OR NAME] /bin/bash`
138
144
145
+
139
146
Restart a running container:
140
147
141
148
`docker restart [CONTAINER ID OR NAME]`
142
149
150
+
143
151
Stop and start a container in separate operations:
144
152
145
153
`docker stop [CONTAINER ID OR NAME]`
146
154
147
155
`docker start [CONTAINER ID OR NAME]`
148
156
157
+
149
158
## Teardown
150
159
#### (Stop all running containers started by Docker Compose):
0 commit comments