You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're correct, it's not possible to map to a random external port. I didn't implement support for this because I had a hard time figuring out a good use case for it, but I guess I could look into it.
It's currently not possible to bind an exposed port to a random external port, specifying the interface.
and the docker-py api supports it like this:
ref: https://github.com/docker/docker-py/blob/4ed1ee5b0fc8c527e96ff00cba23f69420617454/docs/port-bindings.md
It's a shame because we need this to allow proper service discovery on a specific interface :)
Also, Fig supports it with:
The text was updated successfully, but these errors were encountered: