Launch container in Proxy mode with Testcontainers #678

Open
opened 2025-12-29 08:32:23 +01:00 by adam · 3 comments
Owner

Originally created by @sfields-metabolon on GitHub (Mar 9, 2025).

Originally assigned to: @StefH on GitHub.

Is your feature request related to a problem? Please describe.
I'm using testcontainers to create instances of Wiremock, however I can't find a way to launch the instance in Global Proxy mode. The Global Proxy example provided here only shows how to launch into this mode using WireMockServer.Start().

Describe the solution you'd like
Allow the use of Global Proxy mode when using testcontainers.

Originally created by @sfields-metabolon on GitHub (Mar 9, 2025). Originally assigned to: @StefH on GitHub. **Is your feature request related to a problem? Please describe.** I'm using testcontainers to create instances of Wiremock, however I can't find a way to launch the instance in Global Proxy mode. The Global Proxy example provided [here](https://github.com/WireMock-Net/WireMock.Net/wiki/Proxying) only shows how to launch into this mode using `WireMockServer.Start()`. **Describe the solution you'd like** Allow the use of Global Proxy mode when using testcontainers.
adam added the feature label 2025-12-29 08:32:23 +01:00
Author
Owner

@StefH commented on GitHub (Mar 10, 2025):

@sfields-metabolon
I think you can also use command line options for Testcontainers, see

@StefH commented on GitHub (Mar 10, 2025): @sfields-metabolon I think you can also use command line options for Testcontainers, see - https://github.com/WireMock-Net/WireMock.Net/wiki/WireMock-commandline-parameters#settings - https://github.com/WireMock-Net/WireMock.Net/wiki/Settings#proxyandrecordsettings
Author
Owner

@StefH commented on GitHub (May 10, 2025):

@sfields-metabolon
Did you check those wiki pages?

@StefH commented on GitHub (May 10, 2025): @sfields-metabolon Did you check those wiki pages?
Author
Owner

@StefH commented on GitHub (Dec 5, 2025):

@sfields-metabolon
Did you check those wiki pages?

@StefH commented on GitHub (Dec 5, 2025): @sfields-metabolon Did you check those wiki pages?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#678