Add code highlighting to volume mount example

Double tab indentation required to add code in a list
This commit is contained in:
Andrew Martin 2015-07-15 23:14:55 +01:00
parent 3103a52b29
commit d744db7ae1
1 changed files with 1 additions and 1 deletions

View File

@ -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`. 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: 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. 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.