CMD and supervisord

  • 4

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191


File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

CMD and supervisord

I am trying to get docker ENTRYPOINT or CMD to startup supervisor when the image is run.

This is the last line in my Dockerfile:

CMD ["service supervisor start"]

This isn't working. I get the error:

Error response from daemon: Cannot start container eb3eeb404462343680fec5af4c5a6372046713a3ccaa2893c9f4a0a9eda97753: [8] System error: exec: "service supervisor start": executable file not found in $PATH
    • @EEAA I haven't done any additional tweaking of the OS so I'm guessing it's still using upstart. I just need supervisor to be started when the image is run.

Trending Tags