Skip to content

[FEATURE] Manage "driver" and "driver_opts" in docker.networks.install state #310

@kartnico

Description

@kartnico

Is your feature request related to a problem?

No

Describe the solution you'd like

Manage "driver" and "driver_opts" in docker.networks.install state

Salt docker_network.present syntax1 :

mynet:
  docker_network.present:
    - driver: macvlan
    - driver_opts: macvlan_mode=bridge,parent=eth0

Salt docker_network.present syntax2 :

mynet:
  docker_network.present:
    - driver: macvlan
    - driver_opts:
      - macvlan_mode=bridge
      - parent=eth0

Salt docker_network.present state
Docker bridge driver options

Describe alternatives you've considered

Additional context

My use case is to manage "com.docker.network.bridge.name" driver_opts in order to rename bridge name

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions