Run update.sh
This commit is contained in:
parent
a7124e7f32
commit
f529489724
|
|
@ -100,7 +100,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 `mysql` container like this:
|
||||
|
||||
docker run --name some-mysql -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
|
||||
docker run --name some-mysql -v /my/own/datadir:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql: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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue