Uploaded image for project: 'Coopr'
  1. Coopr
  2. COOPR-801

Allow specifying host-side port(s) for Docker port mapping

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.10 Code Name: Mensa
    • Component/s: plugins
    • Labels:
      None
    • Release Notes:
      Improved publish_ports syntax to allow setting local port during mapping
    • Rank:
      1|hzzdr3:

      Description

      Currently, we allow the user to specify a list of comma-separated ports to map from the local host to containers... "9999,10000"... The DockerAutomator maps the ports 1:1 to the running host, so we execute "-p 9999:9999 -p 10000:10000" which limits us to one container of a given service per host and does not allow for customizing ports or avoiding conflicts.

      We should also support a full LOCAL:CONTAINER port mapping, such as "8080:9999,10000" to map the local port 8080 on the host to port 9999 within the container.

        Attachments

          Activity

            People

            • Assignee:
              chris Chris Gianelloni
              Reporter:
              chris Chris Gianelloni
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: