When the Maven spring-boot:build-image goal or Gradle bootBuildImage task is run more than once concurrently against the same Docker daemon, builds can fail with an error like
Docker API call to 'localhost/v1.24/images/pack.local/builder/zuslfxipuv:latest?force=1' failed with status code 500 "Internal Server Error" and message "unrecognized image ID sha256:xxxxx"`