How can I prevent url re-writing in EventStore using Docker?

I’m trying to run a server (EventStore) in a Docker, in this case their own image. I’m running this image with the -P flag to assign external ports. (My usage makes specific port assignment impractical.)

When I start up EventStore’s image, port 2113 (their web port) is mapped to some high port, like 33125. If I enter (my_ip):33125 in my browser, it gets rewritten to something like (my_ip):2113/web/. Of course, outside the Docker port 2113 means nothing!

  • How do you see Jupyter notebook on a microsoft/cntk docker?
  • docker swarm access service
  • Postgresql DB not getting connected in docker
  • Docker TLS error on Mac
  • Running docker commands as a build step in Jenkins
  • Use zeus with Rails 3 and docker
  • How can I prevent this re-writing, or at least contain it all inside the Docker?

  • From local development to dockerized microservices
  • Docker composer copy files
  • Deploy to docker with nginx, django, daphne
  • How can I run a full-featured Linux distro in docker?
  • Run RabbitMQ server in Docker
  • Configuring options for docker run
  • One Solution collect form web for “How can I prevent url re-writing in EventStore using Docker?”

    You have faced a know issue. The docs says:

    Note : The admin UI and atom feeds will only work if you publish the node’s http port to a matching port on the host. (i.e. you need to run the container with -p 2113:2113)

    And this is the opened issue regarding that:

    It seems that is an internal check that EventStore does, so it’s very difficult to solve from outside the server code.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.