{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/26658","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/26658/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/26658/comments","events_url":"https://api.github.com/repos/docker/docker/issues/26658/events","html_url":"https://github.com/docker/docker/issues/26658","id":177556009,"number":26658,"title":"Image from hub doesn't work","user":{"login":"ZHAJOR","id":11279552,"avatar_url":"https://avatars.githubusercontent.com/u/11279552?v=3","gravatar_id":"","url":"https://api.github.com/users/ZHAJOR","html_url":"https://github.com/ZHAJOR","followers_url":"https://api.github.com/users/ZHAJOR/followers","following_url":"https://api.github.com/users/ZHAJOR/following{/other_user}","gists_url":"https://api.github.com/users/ZHAJOR/gists{/gist_id}","starred_url":"https://api.github.com/users/ZHAJOR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZHAJOR/subscriptions","organizations_url":"https://api.github.com/users/ZHAJOR/orgs","repos_url":"https://api.github.com/users/ZHAJOR/repos","events_url":"https://api.github.com/users/ZHAJOR/events{/privacy}","received_events_url":"https://api.github.com/users/ZHAJOR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-17T04:59:56Z","updated_at":"2016-09-17T12:20:38Z","closed_at":null,"body":"**Description**\r\nI made an image for the framework phalcon : https://hub.docker.com/r/zhajor/docker-apache-php7-phalcon/\r\nI tried it on a mac (Docker version 1.12.1, build 6f9534c, experimental) with kitematic and it was working well.\r\nSo i decided to deploy it on my  debian server (configuration below). I pulled the image and then did a basic docker-compose:\r\n```\r\n        image: zhajor/docker-apache-php7-phalcon\r\n        networks:\r\n            in:\r\n                aliases:\r\n                    - api\r\n        ports:\r\n            - \"6868:80\"\r\n        container_name: compose-phalcon-api\r\n        volumes:\r\n            - ./tutorial:/var/www/html\r\n```\r\nEverything is running, the container can interpret a phpinfo() but when it comes to phalcon i have no answer from the web server. The project i used was the same as the one under mac os : \r\nhttps://github.com/phalcon/tutorial\r\nAs it was working fine on mac os, i decided to build the image manually on the server and it's working like a charm.\r\nI really don't know where is the problem.\r\n**Steps to reproduce the issue:**\r\n1. docker pull zhajor/docker-apache-php7-phalcon\r\n2. git clone https://github.com/phalcon/tutorial.git\r\n3. Just run a container with zhajor/docker-apache-php7-phalcon and a shared directory as ./tutorial:/var/www/html\r\n4. Now if you try to access the index.php it just doesn't work but if you add a php file (tutorial/public/ninja.php) with a phpinfo() the page is loading and tells that phalcon is loaded.\r\n\r\nIf you do it manually so:\r\n1. git clone https://github.com/ZHAJOR/Docker-apache-php7-phalcon.git && build -t phalcon .\r\n2. git clone https://github.com/phalcon/tutorial.git\r\n3. Just run a container with phalcon and a shared directory as ./tutorial:/var/www/html\r\n4. Now it's working and i get the \"Hello\" message\r\n\r\n\r\n**Output of `docker version`:**\r\nClient:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 05:02:53 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 05:02:53 2016\r\n OS/Arch:      linux/amd64\r\n\r\n**Output of `docker info`:**\r\n\r\nContainers: 11\r\n Running: 6\r\n Paused: 0\r\n Stopped: 5\r\nImages: 103\r\nServer Version: 1.12.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 180\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: bridge null host overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options:\r\nKernel Version: 3.16.0-4-amd64\r\nOperating System: Debian GNU/Linux 8 (jessie)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 3.854 GiB\r\nName: 83050hd56109\r\nID: WBDN:XLGV:CFM4:YZZA:5IBF:3G2N:O32W:D6PG:THKR:XYFZ:XFT3:ITXZ\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No memory limit support\r\nWARNING: No swap limit support\r\nWARNING: No kernel memory limit support\r\nWARNING: No oom kill disable support\r\nWARNING: No cpu cfs quota support\r\nWARNING: No cpu cfs period support\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\ndebian jessie"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/247766449","html_url":"https://github.com/docker/docker/issues/26658#issuecomment-247766449","issue_url":"https://api.github.com/repos/docker/docker/issues/26658","id":247766449,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T12:20:38Z","updated_at":"2016-09-17T12:20:38Z","body":"Sounds likely to be a permissions issue.\r\nDocker4Mac has a slightly different behavior when mapping in host directories in that it maps the UID/GID to match the process in the container, but on Linux there is no such mapping."}}
{"actor":{"display_login":"cpuguy83"}}