From 1ed3340407fe490983c0e0e5d1db6116bb31a690 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 13 Apr 2017 13:41:32 -0700 Subject: [PATCH] Use a few more code blocks --- mysql/content.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql/content.md b/mysql/content.md index 49b9ffc8a..a5f0bca01 100644 --- a/mysql/content.md +++ b/mysql/content.md @@ -122,13 +122,13 @@ Sets root (*not* the user specified in `MYSQL_USER`!) user as expired once init ## Docker Secrets -As an alternative to passing sensitive information via environment variables, \_FILE may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in /run/secrets/ files. For example: +As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in `/run/secrets/` files. For example: ```console -$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql-root -d mysql:tag +$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql-root -d %%REPO%%:tag ``` -Currently, this is only supported for MYSQL_ROOT_PASSWORD, MYSQL_ROOT_HOST, MYSQL_DATABASE, MYSQL_USER, and MYSQL_PASSWORD. +Currently, this is only supported for `MYSQL_ROOT_PASSWORD`, `MYSQL_ROOT_HOST`, `MYSQL_DATABASE`, `MYSQL_USER`, and `MYSQL_PASSWORD`. # Initializing a fresh instance