Updating jenkins version in docker image cause exit 143

205 views
Skip to first unread message

YusufSalahAdDin

unread,
Oct 5, 2016, 4:55:55 PM10/5/16
to Jenkins Users
Hi guys!

I have the next problem:

I built an image with Jenkins 2.23 and run it, all is well.

Today i want update jenkins to 2.24, so, i change some lines in the docker file, change version to 2.24 and update sha.

I built it, all is well, but when i up the machine, well, i have an error 143:
docker-compose ps                                                                                 ✓  4135  15:48:39
      Name                    Command                State     Ports
--------------------------------------------------------------------
jenkins_data_1     echo Data container for Je ...   Exit 0          
jenkins_master_1   /bin/tini -- /usr/local/bi ...   Exit 143        
jenkins_nginx_1    nginx                            Exit 0          
jenkins_slave_1    /bin/bash                        Exit 0 

Why?

Can anyone help me.

Daniel Beck

unread,
Oct 5, 2016, 5:02:44 PM10/5/16
to jenkins...@googlegroups.com
Anything interesting getting logged during startup?
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e57d4497-0f78-41ce-9c42-a8698361e5bb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

YusufSalahAdDin

unread,
Oct 5, 2016, 5:25:25 PM10/5/16
to Jenkins Users, m...@beckweb.net
No, nothing, but the problem persist, i deleted all container and compose up again, and doesn't works, now i'm trying killing the docker machine and create again.

YusufSalahAdDin

unread,
Oct 5, 2016, 7:13:33 PM10/5/16
to Jenkins Users, m...@beckweb.net
I have this in bash:

 docker-compose up                                                                               1 ↵  4159  18:11:07
Creating jenkins_slave_1
Creating jenkins_data_1
Creating jenkins_master_1
Creating jenkins_nginx_1
Attaching to jenkins_slave_1, jenkins_data_1, jenkins_master_1, jenkins_nginx_1
data_1    | Data container for Jenkins
jenkins_data_1 exited with code 0
jenkins_slave_1 exited with code 0


El miércoles, 5 de octubre de 2016, 16:02:44 (UTC-5), Daniel Beck escribió:

YusufSalahAdDin

unread,
Oct 5, 2016, 8:00:57 PM10/5/16
to Jenkins Users, m...@beckweb.net
Ok, i run it with parameter -d and i have this:
salahaddin@TulipanROG  ~/Proyectos/uzmantech/jenkins   master ●  docker-compose up -d                                                                              ✓  4169  18:55:31
Starting jenkins_data_1
Starting jenkins_slave_1
Starting jenkins_master_1
Starting jenkins_nginx_1
 salahaddin@TulipanROG  ~/Proyectos/uzmantech/jenkins   master ●  docker-compose ps                                                                                 ✓  4170  18:56:47
      Name                    Command               State                  Ports               
-----------------------------------------------------------------------------------------------

jenkins_data_1     echo Data container for Je ...   Exit 0                                     
jenkins_master_1   /bin/tini -- /usr/local/bi ...   Up       0.0.0.0:50000->50000/tcp, 8080/tcp
jenkins_nginx_1    nginx                            Up       443/tcp, 0.0.0.0:80->80/tcp       
jenkins_slave_1    /bin/bash                        Exit 0                             
But browser can access to localhost.

Baptiste Mathus

unread,
Oct 7, 2016, 1:04:06 AM10/7/16
to jenkins...@googlegroups.com

Hey,

What do the "docker logs" say?


To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3f8a1981-d9bd-40b3-aacc-b65d9ee9dce6%40googlegroups.com.

YusufSalahAdDin

unread,
Oct 7, 2016, 3:41:40 AM10/7/16
to Jenkins Users, m...@batmat.net
Where can i found these login, because in bash docker doesn't show me any log, and, when i get in container, all jekins logs are fine.

Baptiste Mathus

unread,
Oct 9, 2016, 1:34:16 AM10/9/16
to YusufSalahAdDin, Jenkins Users

docker logs container_id

The Jenkins one I guess. Also curious why you're running nginx for that test.

YusufSalahAdDin

unread,
Oct 9, 2016, 8:16:36 PM10/9/16
to Jenkins Users, alag...@gmail.com, m...@batmat.net
Ok, i'll search it in logs.

I'm using nGinx for deploy in server.
Reply all
Reply to author
Forward
0 new messages