From 94e3e367752d61921e45ec4c4f0c3de05ca20fea Mon Sep 17 00:00:00 2001 From: Manu Date: Fri, 7 May 2021 17:02:09 +0200 Subject: [PATCH] List correct custom cnf directory in example cmd The example commandline was listing a different directory than the rest of the docs. --- percona/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/percona/content.md b/percona/content.md index 4a042642e..84530d3e6 100644 --- a/percona/content.md +++ b/percona/content.md @@ -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.