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

Enhance port mapping logic, add exposed ports to Host object #299

Merged

Conversation

ogajduse
Copy link
Member

This PR ensures that broker

  1. respects exposed ports in/from the image and then extends them by ports provided in arguments.
  2. If port 22 was exposed, changes the hostname of the Host to `the.docker.host.com:.
  3. Adds exposed_ports attribute to the Host class if any ports were exposed. Format {"inner-port":"exposed-port"} e.g. {'22': '44263'}

@ogajduse ogajduse added the enhancement New feature or request label Jun 27, 2024
@ogajduse ogajduse force-pushed the feat/container-port-mapping branch from 21e4e0a to fb01b70 Compare June 28, 2024 08:50
@JacobCallahan JacobCallahan merged commit 094b0f6 into SatelliteQE:master Jul 2, 2024
4 checks passed
@ogajduse ogajduse deleted the feat/container-port-mapping branch July 3, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants