Merge pull request #1942 from manuelgrabowski/patch-1
Percona: List correct custom cnf directory in example cmd
This commit is contained in:
commit
f5579ed975
|
|
@ -63,7 +63,7 @@ The startup configuration is specified in the file `/etc/my.cnf`, and that file
|
|||
If `/my/custom/config-file.cnf` is the path and name of your custom configuration file, you can start your `%%IMAGE%%` container like this (note that only the directory path of the custom config file is used in this command):
|
||||
|
||||
```console
|
||||
$ docker run --name some-%%REPO%% -v /my/custom:/etc/mysql/conf.d -e MYSQL_ROOT_PASSWORD=my-secret-pw -d %%IMAGE%%:tag
|
||||
$ docker run --name some-%%REPO%% -v /my/custom:/etc/my.cnf.d -e MYSQL_ROOT_PASSWORD=my-secret-pw -d %%IMAGE%%:tag
|
||||
```
|
||||
|
||||
This will start a new container `some-%%REPO%%` where the Percona Server for MySQL instance uses the combined startup settings from `/etc/my.cnf` and `/etc/my.cnf.d/config-file.cnf`, with settings from the latter taking precedence.
|
||||
|
|
|
|||
Loading…
Reference in New Issue