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
Post a Comment