supervisor won't give meaningful output

have a docker file set up to launch a supervisord instance inside of ubuntu under virtualbox with the following config:

[supervisord]
nodaemon=true

[program:install]
command=bash -c "/src/etc/install.sh"
directory=/src/etc/
autorestart=true
autostart=true
stopwaitsecs=90
redirect_stderr=true
stdout_logfile=/var/log/myapp_install.log

that is set to launch the following test script file from my src/etc/ directory:

  • Docker with Angular 4 and Django is compiled successfully but localhost:4200 is not working
  • Way to set “--rm” flag for Ansible Docker module?
  • Copy a file from container to host during build process
  • AWS Server setup with JIRA, Docker
  • Linking web app to mongoDB in Docker
  • Fail to expose my pod to the internet
  • #!/bin/bash
    echo "testing"
    

    When I launch /usr/local/bin/supervisord, I get the following output:

    /usr/local/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
      'Supervisord is running as root and it is searching '
    2014-03-16 00:56:40,709 CRIT Supervisor running as root (no user in config file)
    2014-03-16 00:56:40,723 INFO supervisord started with pid 1
    2014-03-16 00:56:41,728 INFO spawned: 'install' with pid 8
    2014-03-16 00:56:42,730 INFO success: install entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    

    At which point, the application hangs indefinitely.

    If I try to get a ls of the /var/log directory, there’s no evidence that the myapp_install.log file was ever created.

    Obviously I’ve not set up my supervisord.conf file correctly, but it’s really odd that it’s telling me that it’s launched the script successfully and then hangs until I ctrl-c.

  • Travis Multi-Architecture Buiilds
  • Docker container from docker cloud on windows
  • How to pass docker run parameter via kubernetes pod
  • Docker container delete from Jenkins hangs
  • Multilayer Docker Deployment on AWS
  • docker info registry showing v1 and in docker run getting v2
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.