Skip to content

Creating container doesn't allow for setting "NetworkingConfig" #2555

@nbrugger-tgm

Description

@nbrugger-tgm

In order to attach a container to more than one network on creation the "NetworkingConfig" field is needed but the com.github.dockerjava.api.command.CreateContainerCmd does not publish the value (for potential manipulation)

The problem is that in com.github.dockerjava.core.command.CreateContainerCmdImpl#exec the value is overwritten so just providing a getter is not quite enought and the exec needs to be adapted as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions