Skip to content

Invalid use of container.HostConfig.NetworkMode #25

Description

@jpicht

Thanks for developing this plugin!

The use of container.HostConfig.NetworkMode as an index into container.NetworkSettings.Networks only works by accident, because the default docker bridge mode network is named bridge. That's not actually the name of the network that the container is running in.

Network mode to use for this container. Supported standard values are: bridge, host, none, and container:<name|id>. Any other value is taken as a custom network's name to which this container should connect to.
Docker documentation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions