wiremock / wiremock-docker

Wiremock Docker image
https://hub.docker.com/r/wiremock/wiremock
MIT License
210 stars 99 forks source link

Passing WIREMOCK_OPTIONS='--container-threads=100' do not start Wiremock #91

Closed jerosa closed 8 months ago

jerosa commented 8 months ago

Proposal

 Problem

We want to increase the default container threads passing the environment variable WIREMOCK_OPTIONS='--container-threads=100' using the latest available image 3.2.0-2.

However when starting the process stops with the following error:

❯ docker run  wiremock
2023-10-20 07:25:16.382 Verbose logging enabled
Exception in thread "main" 
Exception: java.util.MissingResourceException thrown from the UncaughtExceptionHandler in thread "main"

Reproduction steps

docker run -e WIREMOCK_OPTIONS='--verbose --container-threads=100' wiremock/wiremock:3.2.0-2

References

https://github.com/wiremock/wiremock-docker/pull/90

jerosa commented 8 months ago

Using version 3.0.0-1 starts correctly but the docker entry point haven't support for WIREMOCK_OPTS variable

jerosa commented 8 months ago

Solved