Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,251
Community Members
 
Community Events
165
Community Groups

Getting issue when running supervisor on docker.

Hi Support,

I am running supervisor on docker container. I have also run container in detached mode and I have tried multiple method to run supervisor in docker container. but, getting below error.

08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 CRIT Set uid to user 0
08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 WARN Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing
08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
08-Jun-2018 10:50:13 2018-06-08 10:50:13,869 INFO RPC interface 'supervisor' initialized
08-Jun-2018 10:50:13 2018-06-08 10:50:13,869 CRIT Server 'unix_http_server' running without any HTTP authentication checking
08-Jun-2018 10:50:13 2018-06-08 10:50:13,870 INFO supervisord started with pid 1
08-Jun-2018 10:50:14 2018-06-08 10:50:14,871 INFO spawned: 'nginx' with pid 7
08-Jun-2018 10:50:14 2018-06-08 10:50:14,873 INFO spawned: 'php-fpm' with pid 8
08-Jun-2018 10:50:14 2018-06-08 10:50:14,928 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:15 2018-06-08 10:50:15,929 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
08-Jun-2018 10:50:15 2018-06-08 10:50:15,931 INFO spawned: 'php-fpm' with pid 27
08-Jun-2018 10:50:15 2018-06-08 10:50:15,943 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:17 2018-06-08 10:50:17,947 INFO spawned: 'php-fpm' with pid 40
08-Jun-2018 10:50:17 2018-06-08 10:50:17,959 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:20 2018-06-08 10:50:20,964 INFO spawned: 'php-fpm' with pid 53
08-Jun-2018 10:50:20 2018-06-08 10:50:20,976 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:21 2018-06-08 10:50:21,976 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly.

Please suggest. Also, share a steps guide to setup docker deployment from bamboo to AWS ECS.

Thanks,

Guddu 

1 answer

1 vote

Hi Guddu,

I had a very similar issue some time ago trying to run PHP + Nginx using supervisor, I find out that I was missing some parameters while starting the php-fpm service, I used this project as a reference to solve my issue.

Regarding deploying to AWS ECS, you can use the Bamboo docker task to push your images to your ECS registry. The folks from Utoolity have a very good step-by-step here.

thanks

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

964 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you