Skip to content

Commit 305e9ce

Browse files
Merge pull request #2245 from M1cha/per-network-opts
PerNetworkOptions: add driver specific options
2 parents 2d713bd + 1836db5 commit 305e9ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libnetwork/types/network.go

+2
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ type PerNetworkOptions struct {
269269
// InterfaceName for this container. Required in the backend.
270270
// Optional in the frontend. Will be filled with ethX (where X is a integer) when empty.
271271
InterfaceName string `json:"interface_name"`
272+
// Driver-specific options for this container.
273+
Options map[string]string `json:"options,omitempty"`
272274
}
273275

274276
// NetworkOptions for a given container.

0 commit comments

Comments
 (0)