{"action":"opened","issue":{"url":"https://api.github.com/repos/jdeathe/centos-ssh-mysql/issues/37","labels_url":"https://api.github.com/repos/jdeathe/centos-ssh-mysql/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/jdeathe/centos-ssh-mysql/issues/37/comments","events_url":"https://api.github.com/repos/jdeathe/centos-ssh-mysql/issues/37/events","html_url":"https://github.com/jdeathe/centos-ssh-mysql/issues/37","id":121235871,"number":37,"title":"Examples are using a shared MySQL data directory for pool-1","user":{"login":"jdeathe","id":1873115,"avatar_url":"https://avatars.githubusercontent.com/u/1873115?v=3","gravatar_id":"","url":"https://api.github.com/users/jdeathe","html_url":"https://github.com/jdeathe","followers_url":"https://api.github.com/users/jdeathe/followers","following_url":"https://api.github.com/users/jdeathe/following{/other_user}","gists_url":"https://api.github.com/users/jdeathe/gists{/gist_id}","starred_url":"https://api.github.com/users/jdeathe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdeathe/subscriptions","organizations_url":"https://api.github.com/users/jdeathe/orgs","repos_url":"https://api.github.com/users/jdeathe/repos","events_url":"https://api.github.com/users/jdeathe/events{/privacy}","received_events_url":"https://api.github.com/users/jdeathe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-09T13:15:55Z","updated_at":"2015-12-09T13:15:55Z","closed_at":null,"body":"- https://github.com/jdeathe/centos-ssh-mysql/blob/1.3.0/run.sh#L126\r\n\r\nRef:\r\n\r\n```\r\n-v /var/services-data/mysql/pool-1:/var/lib/mysql\r\n```\r\n\r\nThe \"pool-1\" part of the naming scheme, (where the full container name is mysql.pool-1.1.1), was intended for common configuration settings to be applied to a group of containers. In the examples it is being used to also share a common data directory which might be suitable for some applications but for a database this is could cause issues if attempting to install the same database on a different port.\r\n\r\nNeed to update documentation to indicate:\r\n- The mysql service should only be installed on one of the docker host nodes.\r\n- The pool-1 data directory can be used to by multiple containers on the same host but only the first instance run will be used to initialise the database schemas. This could potentially be used to add a container for (linked) application access and another for administrative access.\r\n"}}