mirror of https://github.com/docker/docs.git
Fix typo in command in databases.md (#20480)
* Fix typo in command in databases.md * Fix typo the other way around to comply with the rest of the document
This commit is contained in:
parent
9da68b18aa
commit
669e06355e
|
@ -188,7 +188,7 @@ the port mapped.
|
|||
Run the following command in a terminal.
|
||||
|
||||
```console
|
||||
$ docker run -p 3306:3306 --name my-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=mydb -d mysql:latest
|
||||
$ docker run -p 3307:3306 --name my-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=mydb -d mysql:latest
|
||||
```
|
||||
|
||||
In this command, `-p 3307:3306` maps port 3307 on the host to port 3306 in the container.
|
||||
|
@ -675,4 +675,4 @@ Related information:
|
|||
- [Dockerfile reference](/reference/dockerfile/)
|
||||
- [Compose file reference](/compose/compose-file/)
|
||||
- [CLI reference](/reference/cli/docker/)
|
||||
- [Database samples](../../samples/_index.md#databases)
|
||||
- [Database samples](../../samples/_index.md#databases)
|
||||
|
|
Loading…
Reference in New Issue