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
{{ message }}
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+18-18
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,12 @@ Includes Automated password generation and an option for custom initialisation S
9
9
10
10
## Overview & links
11
11
12
-
The latest CentOS-7 based release can be pulled from the `centos-7-mysql57-community` Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-mysql57-community-2.1.1` or `2.1.1` for the [2.1.1](https://github.com/jdeathe/centos-ssh-mysql/tree/2.1.1) release tag.
12
+
The latest CentOS-7 based release can be pulled from the `centos-7-mysql57-community` Docker tag. It is recommended to select a specific release tag - the convention is `centos-7-mysql57-community-2.2.0` or `2.2.0` for the [2.2.0](https://github.com/jdeathe/centos-ssh-mysql/tree/2.2.0) release tag.
@@ -182,7 +182,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
182
182
$ eval "sudo -E $(
183
183
docker inspect \
184
184
-f "{{.ContainerConfig.Labels.install}}" \
185
-
jdeathe/centos-ssh-mysql:1.9.1
185
+
jdeathe/centos-ssh-mysql:1.10.0
186
186
) --info"
187
187
```
188
188
@@ -192,7 +192,7 @@ To perform an installation using the docker name `mysql.2` simply use the `--nam
192
192
$ eval "sudo -E $(
193
193
docker inspect \
194
194
-f "{{.ContainerConfig.Labels.install}}" \
195
-
jdeathe/centos-ssh-mysql:1.9.1
195
+
jdeathe/centos-ssh-mysql:1.10.0
196
196
) --name=mysql.2"
197
197
```
198
198
@@ -202,7 +202,7 @@ To uninstall use the *same command* that was used to install but with the `unins
202
202
$ eval "sudo -E $(
203
203
docker inspect \
204
204
-f "{{.ContainerConfig.Labels.uninstall}}" \
205
-
jdeathe/centos-ssh-mysql:1.9.1
205
+
jdeathe/centos-ssh-mysql:1.10.0
206
206
) --name=mysql.2"
207
207
```
208
208
@@ -215,7 +215,7 @@ To see detailed information about the image run `scmi` with the `--info` option.
215
215
```
216
216
$ sudo -E atomic install \
217
217
-n mysql.3 \
218
-
jdeathe/centos-ssh-mysql:1.9.1 \
218
+
jdeathe/centos-ssh-mysql:1.10.0 \
219
219
--info
220
220
```
221
221
@@ -224,14 +224,14 @@ To perform an installation using the docker name `mysql.3` simply use the `-n` o
224
224
```
225
225
$ sudo -E atomic install \
226
226
-n mysql.3 \
227
-
jdeathe/centos-ssh-mysql:1.9.1
227
+
jdeathe/centos-ssh-mysql:1.10.0
228
228
```
229
229
230
230
Alternatively, you could use the `scmi` options `--name` or `-n` for naming the container.
231
231
232
232
```
233
233
$ sudo -E atomic install \
234
-
jdeathe/centos-ssh-mysql:1.9.1 \
234
+
jdeathe/centos-ssh-mysql:1.10.0 \
235
235
--name mysql.3
236
236
```
237
237
@@ -240,7 +240,7 @@ To uninstall use the *same command* that was used to install but with the `unins
240
240
```
241
241
$ sudo -E atomic uninstall \
242
242
-n mysql.3 \
243
-
jdeathe/centos-ssh-mysql:1.9.1
243
+
jdeathe/centos-ssh-mysql:1.10.0
244
244
```
245
245
246
246
#### Using environment variables
@@ -259,7 +259,7 @@ $ docker run \
259
259
--env "MYSQL_USER_PASSWORD=" \
260
260
--env "MYSQL_USER_DATABASE=app-db" \
261
261
--volume mysql.1.data-mysql:/var/lib/mysql \
262
-
jdeathe/centos-ssh-mysql:1.9.1
262
+
jdeathe/centos-ssh-mysql:1.10.0
263
263
```
264
264
265
265
The environmental variable `MYSQL_SUBNET` is optional but can be used to generate users with access to databases outside the `localhost`, (the default for the root user). In the example, the subnet definition `0.0.0.0/0.0.0.0` allows connections from any network which is equivalent to the wildcard symbol, `%`, in MySQL GRANT definitions.
0 commit comments