{"action":"opened","issue":{"url":"https://api.github.com/repos/docker-library/drupal/issues/159","repository_url":"https://api.github.com/repos/docker-library/drupal","labels_url":"https://api.github.com/repos/docker-library/drupal/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/drupal/issues/159/comments","events_url":"https://api.github.com/repos/docker-library/drupal/issues/159/events","html_url":"https://github.com/docker-library/drupal/issues/159","id":522284437,"node_id":"MDU6SXNzdWU1MjIyODQ0Mzc=","number":159,"title":"FPM based images are broken","user":{"login":"DavidHernandez","id":877002,"node_id":"MDQ6VXNlcjg3NzAwMg==","avatar_url":"https://avatars3.githubusercontent.com/u/877002?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidHernandez","html_url":"https://github.com/DavidHernandez","followers_url":"https://api.github.com/users/DavidHernandez/followers","following_url":"https://api.github.com/users/DavidHernandez/following{/other_user}","gists_url":"https://api.github.com/users/DavidHernandez/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidHernandez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidHernandez/subscriptions","organizations_url":"https://api.github.com/users/DavidHernandez/orgs","repos_url":"https://api.github.com/users/DavidHernandez/repos","events_url":"https://api.github.com/users/DavidHernandez/events{/privacy}","received_events_url":"https://api.github.com/users/DavidHernandez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-11-13T15:11:00Z","updated_at":"2019-11-13T15:11:00Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI've been trying to use the drupal:fpm-alpine docker image with no luck. I was not sure if the documentation was wrong or the problem was the image itself.\r\n\r\nI tried the apache based image and it works correctly. Then, I tried the FPM image (no alpine) and it has the same error.\r\n\r\nThis issue is very easy to replicate, just use the sample command provided by the README, but using any FPM based image:\r\n\r\n`docker run --name some-drupal -p 8080:80 -d drupal:fpm-alpine`\r\n\r\nThen, access to `localhost:8080` or `127.0.0.1:8080` and you will see the next error:\r\n![Screenshot from 2019-11-13 16-04-21](https://user-images.githubusercontent.com/877002/68775739-4ccdb280-062f-11ea-9247-8afb63b34f57.png)\r\n\r\nI tried a little bit of debugging and I found the next: the `FPM` image is by default configured to use the port `9000`, not the port `80`. You can see it using `docker ps`:\r\n![Screenshot from 2019-11-13 16-06-28](https://user-images.githubusercontent.com/877002/68775963-98805c00-062f-11ea-8afd-b586093377f3.png)\r\n\r\nAfter fixing this and starting again the container using this time the right port, this is still not working:\r\n`docker run --name some-drupal -p 8080:9000 -d drupal:fpm-alpine`\r\n\r\nI have no idea where to check, I have no previous experience working with FPM. I do not know if the error is in the Drupal FPM Dockerfile or in the FPM Dockerfile itself.\r\n\r\nI am willing to invest some time to solve the issue, but I do not know from where to start. Any pointers?\r\n\r\nRegards,\r\nDavid."}}
{"actor":{"display_login":"DavidHernandez"}}