From d744db7ae15da5a7fe86223408c871cb7b5b5da1 Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Wed, 15 Jul 2015 23:14:55 +0100 Subject: [PATCH] Add code highlighting to volume mount example Double tab indentation required to add code in a list --- mysql/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/content.md b/mysql/content.md index de9d0700b..f0a54d2c2 100644 --- a/mysql/content.md +++ b/mysql/content.md @@ -92,7 +92,7 @@ The Docker documentation is a good starting point for understanding the differen 1. Create a data directory on a suitable volume on your host system, e.g. `/my/own/datadir`. 2. Start your `%%REPO%%` container like this: - docker run --name some-%%REPO%% -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d %%REPO%%:tag + docker run --name some-%%REPO%% -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d %%REPO%%:tag The `-v /my/own/datadir:/var/lib/mysql` part of the command mounts the `/my/own/datadir` directory from the underlying host system as `/var/lib/mysql` inside the container, where MySQL by default will write its data files.