Skip to content

WireMock-Net/WireMock.Net-docker

Repository files navigation

WireMock.Net-docker

WireMock.Net-docker is a Docker image which runs WireMock.Net (a flexible library for stubbing and mocking web HTTP responses using request-matching criteria.)

Gitter

Linux

Pull latest image

docker pull sheyenrath/wiremock.net

Pull latest image (alpine)

docker pull sheyenrath/wiremock.net-alpine

Start the WireMock.Net container

docker run -it --rm -p 9091:80 sheyenrath/wiremock.net

Windows NanoServer

The following versions are supported:

  • nanoserver-1809
  • nanoserver-1903
  • nanoserver-1909

Pull latest image

docker pull sheyenrath/wiremock.net-nanoserver-<version>

Start the WireMock.Net container

docker run -it --rm -p 9091:80 sheyenrath/wiremock.net-nanoserver-<version>

Windows 2019

Pull latest image

docker pull sheyenrath/wiremock.net-windows-2019

Start the WireMock.Net container

docker run -it --rm -p 9091:80 sheyenrath/wiremock.net-windows-2019

Windows 2022

Pull latest image

docker pull sheyenrath/wiremock.net-windows

Start the WireMock.Net container

docker run -it --rm -p 9091:80 sheyenrath/wiremock.net-windows

Commands

For all possible commands, see this WIKI - Commandline Arguments

Using

Access http://localhost:9091/__admin/settings to display the mappings.

For more functionality, see WIKI