{"action":"created","issue":{"url":"https://api.github.com/repos/ppy/osu-web/issues/421","repository_url":"https://api.github.com/repos/ppy/osu-web","labels_url":"https://api.github.com/repos/ppy/osu-web/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/ppy/osu-web/issues/421/comments","events_url":"https://api.github.com/repos/ppy/osu-web/issues/421/events","html_url":"https://github.com/ppy/osu-web/pull/421","id":139700254,"number":421,"title":"Retune the Docker provider","user":{"login":"Sakisan","id":2041196,"avatar_url":"https://avatars.githubusercontent.com/u/2041196?v=3","gravatar_id":"","url":"https://api.github.com/users/Sakisan","html_url":"https://github.com/Sakisan","followers_url":"https://api.github.com/users/Sakisan/followers","following_url":"https://api.github.com/users/Sakisan/following{/other_user}","gists_url":"https://api.github.com/users/Sakisan/gists{/gist_id}","starred_url":"https://api.github.com/users/Sakisan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sakisan/subscriptions","organizations_url":"https://api.github.com/users/Sakisan/orgs","repos_url":"https://api.github.com/users/Sakisan/repos","events_url":"https://api.github.com/users/Sakisan/events{/privacy}","received_events_url":"https://api.github.com/users/Sakisan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-09T21:04:21Z","updated_at":"2016-03-11T09:49:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ppy/osu-web/pulls/421","html_url":"https://github.com/ppy/osu-web/pull/421","diff_url":"https://github.com/ppy/osu-web/pull/421.diff","patch_url":"https://github.com/ppy/osu-web/pull/421.patch"},"body":"I tried to setup `vagrant up` with the docker provider but it does not work for me.\r\nmysql and php7.0-fpm cannot be installed because of this:\r\n```\r\n==> default: Setting up mysql-community-server (5.7.11-1ubuntu14.04) ...\r\n==> default: /usr/sbin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: Permission denied\r\n```\r\n\r\nI solve that by removing the --privileged arg in the Vagrantfile, as is explained here: https://github.com/docker/docker/issues/5430\r\n\r\nThe build seems to run fine, even though it exits with a non-zero status.\r\nThe last message of the vagrant output is\r\n```\r\n==> default: mount: block device /data/node_modules is write-protected, mounting read-only\r\n==> default: mount: cannot mount block device /data/node_modules read-only\r\n```\r\nbut that does not seem to be an issue. (If it turns out otherwise after I've done some actual developing, I'll update this PR)\r\n\r\nHowever I still need to start it up by doing `vagrant ssh` and `sudo service php7.0-fpm start`.\r\nBut I don't suppose that's related to this.\r\n"},"comment":{"url":"https://api.github.com/repos/ppy/osu-web/issues/comments/195299270","html_url":"https://github.com/ppy/osu-web/pull/421#issuecomment-195299270","issue_url":"https://api.github.com/repos/ppy/osu-web/issues/421","id":195299270,"user":{"login":"Sakisan","id":2041196,"avatar_url":"https://avatars.githubusercontent.com/u/2041196?v=3","gravatar_id":"","url":"https://api.github.com/users/Sakisan","html_url":"https://github.com/Sakisan","followers_url":"https://api.github.com/users/Sakisan/followers","following_url":"https://api.github.com/users/Sakisan/following{/other_user}","gists_url":"https://api.github.com/users/Sakisan/gists{/gist_id}","starred_url":"https://api.github.com/users/Sakisan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sakisan/subscriptions","organizations_url":"https://api.github.com/users/Sakisan/orgs","repos_url":"https://api.github.com/users/Sakisan/repos","events_url":"https://api.github.com/users/Sakisan/events{/privacy}","received_events_url":"https://api.github.com/users/Sakisan/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T09:49:49Z","updated_at":"2016-03-11T09:49:49Z","body":"Simplified summary: \r\n\r\n- Removed the --priviliged argument from the docker provider\r\n- The mount command is now only configured for the virtualbox provider\r\n- Restart all 3 services on start up: mysql, php7.0-fpm and nginx"}}