https://linen.dev logo
#help
Title
# help
s

Sergi Bema

02/15/2024, 7:15 PM
👋 I'm having some troubles using two containers of
wiremock
(official image). When I run the following containers in a `docker-compose`:
Copy code
wiremock:
    image: wiremock/wiremock:latest
    ports:
      - "8080:8080"

  wiremock-backup:
    image: wiremock/wiremock:latest
    ports:
      - "8081:8080"
      - "8444:8443"
    command: ["--port", "8081", "--https-port", "8444"]
I can easily interact with the
wiremock
container with the original port mapping but when I try to interact with
wiremock-backup
, no matter how I try to override the ports, I can't access it through
8081
or
8444
. Funny thing is that from the inside the
wiremock-backup
container, I can do some curls to the overridden ports and it answers just fine. It's just not able to access from the outside. Any idea of what might be the problem?
@Tom can you help with this? 🙏 Have you experienced this?