Ver código fonte

List correct custom cnf directory in example cmd

The example commandline was listing a different directory than the rest of the docs.
Manu 4 anos atrás
pai
commit
94e3e36775
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      percona/content.md

+ 1 - 1
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.