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!

  • Use custom docker binary in CoreOS
  • DC/OS and concurrent deployments
  • Error when creating a MySQL database in a Dockerfile
  • Docker swarm TLS Failed to validate pending node
  • Do I need to create a new lxc(docker)-container for each task I want to sandbox?
  • How do I configure “ulimits” for a Docker container running in AWS ECS?
  • How can I prevent this re-writing, or at least contain it all inside the Docker?

  • How to replace memswap_limit in docker compose 3?
  • Docker for Microservice app
  • PhpStorm xdebug can't find file when connection comes from docker container
  • docker-compose run --rm doesn't exit container after command is run
  • How to share a host directory between multiple docker container?
  • Docker-based Ambari 1.7 cluster install wizard repo URL dead (404) while 'Running setup agent script'
  • 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:

    https://github.com/EventStore/eventstore-docker/issues/6

    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.