You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Josef Cacek (JIRA)" <ji...@apache.org> on 2016/05/24 07:16:12 UTC

[jira] [Created] (JCLOUDS-1117) Some values from DockerTemplateOptions.configBuilder are replaced in DockerComputeServiceAdapter

Josef Cacek created JCLOUDS-1117:
------------------------------------

             Summary: Some values from DockerTemplateOptions.configBuilder are replaced in DockerComputeServiceAdapter
                 Key: JCLOUDS-1117
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1117
             Project: jclouds
          Issue Type: Bug
          Components: jclouds-labs
            Reporter: Josef Cacek


*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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)