Skip to content

v0.7.0

Latest
Compare
Choose a tag to compare
@robert-bor robert-bor released this 13 Apr 18:27
· 12 commits to master since this release
b370661
  • Clean up the container afterwards #27; when the @PreDestroy hook is called, the container is force removed (docker rm -fv ${containerName}). Not called when force-clean-afterwards == false.
  • Clean up log files afterwards #25 and #22; when the @PreDestroy hook is called, the Docker std out/err files are removed.
  • Remove port blockers #24 and #20; when a docker container is detected that occupies the port that is about to be used to launch the new container, the occupying container is stopped (docker stop ${occupyingContainerName}). Not called when stop-port-occupying-container == false. If this feature is disabled, the library will generate a warning when a port-blocker is detected.
  • Detected terminated containers #26; the library not only detects running containers (docker ps), but also the others, such as terminated ones (docker ps --all). Terminated containers would not be removed, but still blocked the launch of a new container with a similar name. In the subsequent step, terminated containers with a similar name are now also removed.
  • Auto-complete on kebab case; in your IDE, entering the properties in your yml is now supported on kebab casing (ie, force-clean, instead of forceClean), see 42BV/spring-boot-starter-docker#3