Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run "--verbose" for wiremock in docker compose file

I want to get verbose output from mockwire when running in docker using docker compose file.

I tried these three ways but none of them work.

first way

services:
   wiremock:
     image: wiremock
     ports:
       - 8080:8080
     restart: always
     volumes:
       - ./myfolder/mystuff:/home/wiremock
     command: [--verbose]

second way

command: --verbose

third way

command: 
     - --verbose

I keep getting the error:

wiremock exec: "--verbose": executable file not found in $PATH: unknown
like image 322
savemightlife Avatar asked Oct 20 '25 12:10

savemightlife


1 Answers

I've set up it in this way:

  mocked-services:
    image: wiremock/wiremock:2.33.2
    command: "--global-response-templating --verbose"
like image 167
Dmytro Melnychuk Avatar answered Oct 23 '25 03:10

Dmytro Melnychuk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!