Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-24414

Port bindings are ignored with Docker v1.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Docker Version 1.2
      docker-build-step: 1.9

      Scenario:

      Start docker container that exposes port 80. Should be mapped to port 4000 on the host system. Port bindings config:

      4000 80

      Worked in previous versions. Results in a container similar to:

      abc12345as example/website-preview:latest   "/usr/sbin/apache2 -   5 seconds ago       Up 4 seconds        80/tcp                           sad_lovelace
      

      Based on the config the mappings should look like this:

      0.0.0.0:4000->80/tcp

            albers Harald Albers
            dkerwin Daniel Kerwin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: