TrafeX/docker-php-nginx

supervisorctl not working

jduan00 opened this issue · 2 comments

Hi there!

After getting into the image:
$ docker exec -it -u root container sh

The following cmd fails:
# supervisorctl
unix:///run/supervisord.sock no such file

Any thoughts to fix it? Thanks!

Hi @jduan00 ,

That's because the socket isn't configured in supervisord.conf. I don't directly see why this would be needed.
But you can add it yourself by configuring a unix http server: http://supervisord.org/configuration.html#unix-http-server-section-settings

Hi @TrafeX

Happy New Year 2024! I agree. After looking into this more, I realize it is better to leave it alone to KISS. Thanks for getting back. Cheers!