Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ephemeral port binding #64

Open
Qwaz opened this issue Jan 7, 2019 · 0 comments
Open

Support ephemeral port binding #64

Qwaz opened this issue Jan 7, 2019 · 0 comments
Labels
deferred Will be handled later enhancement Improvements on performance or other factors
Milestone

Comments

@Qwaz
Copy link
Member

Qwaz commented Jan 7, 2019

If publish_all_ports option is used, a container will allocate unused ports automatically when it starts.

To handle this scenario,

  1. port becomes optional in run command and ops::run.
  2. HostConfig uses publish_all_ports when external port is not specified.
  3. ops::run returns the port number and image hash. Additional list image command would be needed in ops::run function.
  4. User will see both image hash and port number in CLI.
@Qwaz Qwaz added deferred Will be handled later enhancement Improvements on performance or other factors labels Jan 7, 2019
@KSAlpha KSAlpha added this to the 0.1.0 milestone Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deferred Will be handled later enhancement Improvements on performance or other factors
Projects
None yet
Development

No branches or pull requests

2 participants