DockerでWireMockを動かす
Dockerから使える
Inside the container, the WireMock uses /home/wiremock as the root from which it reads the mappings and __files directories.
mappingsと__filesディレクトリを用意
-v $PWD:/home/wiremockとマウント。自動で読み込む(mappingsがメモリに入る)
__filesの下を探すのは必要になった時(-vマウントで書き換えられた)
コマンドライン引数
--verbose
--disable-banner
これらはdocker runしたときの出力から見当をつけた
--global-response-templating
ドキュメントにあったが未検証
--https-port 8443:コンテナ内のportを指定できる
http://localhost:8080/__admin/mappings (REST API)