Spring Cloud Exit Codes & docker restart -


i've application uses config server within docker:

https://github.com/kramkroc/eurekafirstdiscovery

i want switch docker restart policy always on-failure in order add cap on amount of restart app does. on-failure restart docker container non-zero exit code returned.

when application starting, config-server not have started, , application shut down. 0 exit code. there way modify return non-zero exit code?

turns out there issue when run spring boot apps java -jar introduced in 1.3.2 reported here:

https://github.com/spring-projects/spring-boot/issues/5922

this fixed in 1.3.6 , working in 1.4.0.m2


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -