i have created a Dockerimage which is using supervisord to start multiple services, 2 of them are working but the 3rd jenkins service start and then gets killed on its own.
supervisord
ubuntu@kops:~/cluster/gui$ cat supervisord.conf
[supervisord]
nodaemon=true
[program:sshd]
command=/usr/sbin/sshd -D
[program:jenkins]
command=/usr/bin/java -jar /usr/share/jenkins/jenkins.war
autostart=true
[program:vnc]
command=/usr/bin/vncserver :1 -geometry 1280x800 -depth 24 && tail -f /root/.vnc/*:1.log
autostart=true
Inside docker container, when i manually start jenkins service,
*************************************************************
*************************************************************
*************************************************************
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
aa9c8e22a95c4fcd8a7966983b6ff065
This may also be found at: /root/.jenkins/secrets/initialAdminPassword
*************************************************************
*************************************************************
*************************************************************
Killed