{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/httpd/issues/81","repository_url":"https://api.github.com/repos/docker-library/httpd","labels_url":"https://api.github.com/repos/docker-library/httpd/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/httpd/issues/81/comments","events_url":"https://api.github.com/repos/docker-library/httpd/issues/81/events","html_url":"https://github.com/docker-library/httpd/issues/81","id":267742223,"number":81,"title":"DockerFile for httpd repository won't run commands?","user":{"login":"sean-dunwoody","id":2900601,"avatar_url":"https://avatars2.githubusercontent.com/u/2900601?v=4","gravatar_id":"","url":"https://api.github.com/users/sean-dunwoody","html_url":"https://github.com/sean-dunwoody","followers_url":"https://api.github.com/users/sean-dunwoody/followers","following_url":"https://api.github.com/users/sean-dunwoody/following{/other_user}","gists_url":"https://api.github.com/users/sean-dunwoody/gists{/gist_id}","starred_url":"https://api.github.com/users/sean-dunwoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sean-dunwoody/subscriptions","organizations_url":"https://api.github.com/users/sean-dunwoody/orgs","repos_url":"https://api.github.com/users/sean-dunwoody/repos","events_url":"https://api.github.com/users/sean-dunwoody/events{/privacy}","received_events_url":"https://api.github.com/users/sean-dunwoody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-23T16:55:25Z","updated_at":"2017-11-15T01:07:57Z","closed_at":null,"author_association":"NONE","body":"To preface this, I'm very much a docker novice, and I'm still learning a lot, but I've tried using the httpd repository and using the COPY command listed in the description (https://hub.docker.com/_/httpd/) but I can't seem to get it working, and I was wondering if this could be a problem with the repository itself?\r\n\r\nUnder the 'configuration' heading, the description recommends running:\r\n\r\n```\r\nFROM httpd:2.4\r\nCOPY ./my-httpd.conf /usr/local/apache2/conf/httpd.conf\r\n```\r\n\r\nI've tried this, and it doesn't work, infact, creating or copy files seems not to work at all.\r\n\r\nThis is the DockerFile I have at present:\r\n\r\n```\r\nFROM httpd:2.4\r\n\r\nRUN rm /usr/local/apache2/conf/extra/httpd-vhosts.conf\r\nCOPY ./site.conf /usr/local/apache2/conf/extra/httpd-vhosts.conf\r\nCOPY ./site.conf /usr/local/apache2/conf/extra/httpd-vhosts-testing-ipsum.conf\r\nRUN touch /usr/local/apache2/conf/extra/testing.txt\r\nRUN touch /var/www/testing.txt\r\n```\r\n\r\nLines 3-7 seem to be completely ignored, and there's no error/output providing hints as to why (when running `docker-compose up -d`).\r\n\r\nI'm running 17.09.0 on OSX.\r\n\r\nIs this a problem with the httpd repository? Or am I potentially doing something wrong?"},"comment":{"url":"https://api.github.com/repos/docker-library/httpd/issues/comments/344452865","html_url":"https://github.com/docker-library/httpd/issues/81#issuecomment-344452865","issue_url":"https://api.github.com/repos/docker-library/httpd/issues/81","id":344452865,"user":{"login":"tianon","id":161631,"avatar_url":"https://avatars1.githubusercontent.com/u/161631?v=4","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"created_at":"2017-11-15T01:07:57Z","updated_at":"2017-11-15T01:07:57Z","author_association":"OWNER","body":"This sounds like an issue with your local Docker install -- I'm able to run commands inside the `httpd` image."}}
{"actor":{"display_login":"tianon"}}