Skip to content

Instantly share code, notes, and snippets.

@philipz
Last active September 13, 2016 05:08
Show Gist options
  • Save philipz/670594d47da9ad8a5207 to your computer and use it in GitHub Desktop.
Save philipz/670594d47da9ad8a5207 to your computer and use it in GitHub Desktop.
Docker MySQL Cluster

https://github.com/philipz/dve-docker

  1. docker run -d --name=mymgm01 dveeden/mysqlcluster72:ndb_mgmd
  2. docker run -d --link mymgm01:mgm01 --name node1 dveeden/mysqlcluster72:ndbmtd
  3. docker run -d --link mymgm01:mgm01 --name node2 dveeden/mysqlcluster72:ndbmtd
  4. docker run -d --link mymgm01:mgm01 --name mysqld -p 3306:3306 dveeden/mysqlcluster72:mysqld
  5. docker run -ti --link mymgm01:mgm01 --name client dveeden/mysqlcluster72:ndb_mgm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment