{"action":"closed","issue":{"url":"https://api.github.com/repos/dgraziotin/osx-docker-mysql/issues/2","repository_url":"https://api.github.com/repos/dgraziotin/osx-docker-mysql","labels_url":"https://api.github.com/repos/dgraziotin/osx-docker-mysql/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dgraziotin/osx-docker-mysql/issues/2/comments","events_url":"https://api.github.com/repos/dgraziotin/osx-docker-mysql/issues/2/events","html_url":"https://github.com/dgraziotin/osx-docker-mysql/issues/2","id":133766192,"number":2,"title":"Wrong volume mapping in doc","user":{"login":"btrscott","id":798434,"avatar_url":"https://avatars.githubusercontent.com/u/798434?v=3","gravatar_id":"","url":"https://api.github.com/users/btrscott","html_url":"https://github.com/btrscott","followers_url":"https://api.github.com/users/btrscott/followers","following_url":"https://api.github.com/users/btrscott/following{/other_user}","gists_url":"https://api.github.com/users/btrscott/gists{/gist_id}","starred_url":"https://api.github.com/users/btrscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btrscott/subscriptions","organizations_url":"https://api.github.com/users/btrscott/orgs","repos_url":"https://api.github.com/users/btrscott/repos","events_url":"https://api.github.com/users/btrscott/events{/privacy}","received_events_url":"https://api.github.com/users/btrscott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-15T17:00:53Z","updated_at":"2016-03-17T10:59:00Z","closed_at":"2016-03-17T10:59:00Z","body":"Where it says:\r\n\r\nLoading your custom MySQL files\r\n\r\nIf you wish to mount a MySQL folder locally, so that MySQL files are saved on your OS X machine, run the following instead:\r\n\r\ndocker run -i -t -p \"3306:3306\" -v ${PWD}/mysql:/mysql --name db dgraziotin/mysql\r\nThe MySQL database will thus become persistent at each subsequent run of your image.\r\n\r\n-----\r\n\r\nI think the volume should map to /var/lib/mysql in the container.\r\n\r\nSo I would think the command should be:\r\n\r\ndocker run -i -t -p \"3306:3306\" -v ${PWD}/mysql:/var/lib/mysql --name db dgraziotin/mysql\r\n\r\nThoughts?"}}