Created
May 16, 2018 14:24
-
-
Save backslash112/c8fe248556051ea4def2845d0cc87d47 to your computer and use it in GitHub Desktop.
Blog: Start a Remote MySQL Server with Docker quickly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # stop and remove the container and run again: | |
| docker stop mysql4 && docker rm mysql4 | |
| docker run - name=mysql1 -e MYSQL_ROOT_HOST=% -p 3306:3306 -d mysql/mysql-server |
Not working for me
`prashantsingh@Prashants-MacBook-Air: ~/Documents/Learn/Spring/spring_batch
$ docker run --name mysql1 -e MYSQL_ROOT_HOST=% -p 3306:3306 -d mysql/mysql-server
unknown flag: --name
See 'docker --help'.
`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there
Just to point the typing error.
It should be:
docker run --name=mysql1 -e MYSQL_ROOT_HOST=% -p 3306:3306 -d mysql/mysql-server