{"action":"created","issue":{"url":"https://api.github.com/repos/piwik/docker-piwik/issues/1","labels_url":"https://api.github.com/repos/piwik/docker-piwik/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/piwik/docker-piwik/issues/1/comments","events_url":"https://api.github.com/repos/piwik/docker-piwik/issues/1/events","html_url":"https://github.com/piwik/docker-piwik/issues/1","id":107949102,"number":1,"title":"Waiting for feedback before PR official docker-library repo","user":{"login":"pierreozoux","id":1863453,"avatar_url":"https://avatars.githubusercontent.com/u/1863453?v=3","gravatar_id":"","url":"https://api.github.com/users/pierreozoux","html_url":"https://github.com/pierreozoux","followers_url":"https://api.github.com/users/pierreozoux/followers","following_url":"https://api.github.com/users/pierreozoux/following{/other_user}","gists_url":"https://api.github.com/users/pierreozoux/gists{/gist_id}","starred_url":"https://api.github.com/users/pierreozoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierreozoux/subscriptions","organizations_url":"https://api.github.com/users/pierreozoux/orgs","repos_url":"https://api.github.com/users/pierreozoux/repos","events_url":"https://api.github.com/users/pierreozoux/events{/privacy}","received_events_url":"https://api.github.com/users/pierreozoux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-23T15:44:08Z","updated_at":"2015-10-01T15:33:47Z","closed_at":null,"body":"If you want to test, before following the instructions, make sure you build a local piwik image:\r\n\r\nSo the instructions will becore:\r\n```\r\ngit clone https://github.com/piwik/docker-piwik.git\r\ncd docker-piwik\r\ndocker build -t piwik .\r\n# edit variables:\r\nvi .env\r\ndocker-compose up\r\n```"},"comment":{"url":"https://api.github.com/repos/piwik/docker-piwik/issues/comments/144764123","html_url":"https://github.com/piwik/docker-piwik/issues/1#issuecomment-144764123","issue_url":"https://api.github.com/repos/piwik/docker-piwik/issues/1","id":144764123,"user":{"login":"bmoo","id":867732,"avatar_url":"https://avatars.githubusercontent.com/u/867732?v=3","gravatar_id":"","url":"https://api.github.com/users/bmoo","html_url":"https://github.com/bmoo","followers_url":"https://api.github.com/users/bmoo/followers","following_url":"https://api.github.com/users/bmoo/following{/other_user}","gists_url":"https://api.github.com/users/bmoo/gists{/gist_id}","starred_url":"https://api.github.com/users/bmoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmoo/subscriptions","organizations_url":"https://api.github.com/users/bmoo/orgs","repos_url":"https://api.github.com/users/bmoo/repos","events_url":"https://api.github.com/users/bmoo/events{/privacy}","received_events_url":"https://api.github.com/users/bmoo/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T15:33:47Z","updated_at":"2015-10-01T15:33:47Z","body":"Hey @pierreozoux \r\n\r\nI use vmware-fusion 8 and docker-machine with the boot2docker image. And yes, I'm in the git repo when I run compose. Here's the output -\r\n\r\n```\r\nbrad at compy in ~/dev/docker-piwik (master●)\r\n$ docker-compose up -d\r\nCreating dockerpiwik_db_1...\r\nCreating dockerpiwik_app_1...\r\nCannot start container b246481140e7439a1f369965f320b6c6d5261f655a5caa5786600afb61cb89a4: Cannot link to a non running container: /dockerpiwik_db_1 AS /dockerpiwik_app_1/db\r\n\r\nbrad at compy in ~/dev/docker-piwik (master●)\r\n$ docker logs dockerpiwik_db_1\r\nchown: changing ownership of `/var/lib/mysql/': Operation not permitted\r\n```\r\n\r\nI didn't need the db volume mapped to my host so I removed the mapping (as I described earlier) and that fixed the permission problem. Then I ran `docker-compose kill && docker-compose rm` to remove my old containers. Another `docker-compose up -d` completes successfully but `docker-compose logs`  shows:\r\n\r\n```\r\nbrad at compy in ~/dev/docker-piwik (master●●)\r\n$ docker-compose logs\r\nAttaching to dockerpiwik_cron_1, dockerpiwik_web_1, dockerpiwik_app_1, dockerpiwik_db_1\r\napp_1  | tar: ./config/manifest.inc.php: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config/global.ini.php: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config/global.php: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config/environment/test.php: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config/environment/dev.php: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config/environment: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: ./config: Cannot change ownership to uid 1000, gid 1000: Operation not permitted\r\napp_1  | tar: Exiting with failure status due to previous errors\r\ndb_1   | Running mysql_install_db\r\n...\r\n```\r\n\r\nRemoving the `./config` host mount in the app container fixes this problem and then everything works. It seems likely that this is due to the fact that the uid/gid used by the container doesn't map to anything known by my host, but I haven't dug any further yet."}}