Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1117

Some values from DockerTemplateOptions.configBuilder are replaced in DockerComputeServiceAdapter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • jclouds-labs

    Description

      Issue description:
      If I want to use advanced Docker configuration by providing DockerTemplateOptions.configBuilder(...), then some values are replaced (exposed ports, port bindings) by configuration from the DockerTemplateOptions configuration. This is wrong, because by providing the Config.Builder instance I say I want to use exactly this configuration.

      Expected state:
      If the Config.Builder instance is provided, then it's used directly (unchanged).

      Suggested fix:
      The condition block if (containerConfigBuilder == null) { should be extended.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwart Josef Cacek
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: