Docker Community Forums

Share and learn in the Docker community.

Container dies instantly after start


(Hllrsr) #1

Hello everyone.

Im trying to run a docker container but in the second that i run the command (docker run -it -p 1026:1026 --name orion_test2 fiware/orion) the container dies.

If i run docker images -a, the output of this container is “Exited with code 139 x time ago”

Since i did not found any information of this “Exit code 139”, i did a litte research and started the docker events to try to understand why the the container was stopping and i got this info:

{“status”:“create”,“id”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“from”:“fiware/orion”,“Type”:“container”,“Action”:“create”,“Actor”:{“ID”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“Attributes”:{“image”:“fiware/orion”,“name”:“orion_test2”}},“time”:1512582597,“timeNano”:1512582597210097039}

{“status”:“attach”,“id”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“from”:“fiware/orion”,“Type”:“container”,“Action”:“attach”,“Actor”:{“ID”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“Attributes”:{“image”:“fiware/orion”,“name”:“orion_test2”}},“time”:1512582597,“timeNano”:1512582597211458402}

{“Type”:“network”,“Action”:“connect”,“Actor”:{“ID”:“2fadfeffc5fdf0c32121746e69e85b7fc638dc4d1373e7d6c8a6c8d240b0cfe2”,“Attributes”:{“container”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“name”:“bridge”,“type”:“bridge”}},“time”:1512582597,“timeNano”:1512582597295981148}

{“status”:“start”,“id”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“from”:“fiware/orion”,“Type”:“container”,“Action”:“start”,“Actor”:{“ID”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“Attributes”:{“image”:“fiware/orion”,“name”:“orion_test2”}},“time”:1512582597,“timeNano”:1512582597646529921}

{“status”:“resize”,“id”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“from”:“fiware/orion”,“Type”:“container”,“Action”:“resize”,“Actor”:{“ID”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“Attributes”:{“height”:“36”,“image”:“fiware/orion”,“name”:“orion_test2”,“width”:“150”}},“time”:1512582597,“timeNano”:1512582597647635333}

{“status”:“die”,“id”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“from”:“fiware/orion”,“Type”:“container”,“Action”:“die”,“Actor”:{“ID”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“Attributes”:{“exitCode”:“139”,“image”:“fiware/orion”,“name”:“orion_test2”}},“time”:1512582597,“timeNano”:1512582597735890099}

{“Type”:“network”,“Action”:“disconnect”,“Actor”:{“ID”:“2fadfeffc5fdf0c32121746e69e85b7fc638dc4d1373e7d6c8a6c8d240b0cfe2”,“Attributes”:{“container”:“fb75903f7ce0eb17f52832e345ea2a48980bd98cb91f613aed20b8143d367031”,“name”:“bridge”,“type”:“bridge”}},“time”:1512582597,“timeNano”:1512582597919426570}

After the status RESIZE the status change to DIE. Does anyone know why this happen?

The contaner can be checked here: https://hub.docker.com/r/fiware/orion/

Thank you for your time!