s6-socklog: fatal: unable to bind socket to /dev/log: Permission denied

When deploying an nginx-php-fpm custom image to app platform, I get this error when launching the app and it fails to launch.

Locally it works fine through docker-compose.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 3, 2023

Hi there,

Would you mind sharing the Dockerfile here so I could take a further look?

Also curious to hear why you’ve decided to go with a Dockerfile for deploying a PHP application rather than the native PHP build pack support:



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up